question: public synchronized MethodCountSet collectHotMethods ( int optLevel , double threshold ) { if ( DEBUG ) validityCheck ( ) ; ArrayList < HotMethodRecompilationEvent > collect = new ArrayList < HotMethodRecompilationEvent > ( ) ; collectHotOptMethodsInternal ( 1 , collect , hotnessToCounts ( threshold ) , optLevel ) ; int numHotMethods = collect . size ( ) ; double [ ] numCounts = new double [ numHotMethods ] ; CompiledMethod [ ] hotMethods = new CompiledMethod [ numHotMethods ] ; for ( int i = 0 ; i < numHotMethods ; i ++ ) { HotMethodEvent event = collect . get ( i ) ; hotMethods [ i ] = event . getCompiledMethod ( ) ; numCounts [ i ] = event . getNumSamples ( ) ; } return new MethodCountSet ( hotMethods , numCounts ) ; }
target:  Collect the hot methods that have been compiled at the given opt level.