comparison jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/CompilerToVM.java @ 22769:d57508b1bcb5

Remove CompilerToVM.notifyCompilationStatistics
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Thu, 14 Jan 2016 11:32:37 -0800
parents 316e768645c0
children bf8a5a6861b1
comparison
equal deleted inserted replaced
22768:8f5a558875f4 22769:d57508b1bcb5
313 * metadata. 313 * metadata.
314 */ 314 */
315 native int installCode(TargetDescription target, HotSpotCompiledCode compiledCode, InstalledCode code, HotSpotSpeculationLog speculationLog); 315 native int installCode(TargetDescription target, HotSpotCompiledCode compiledCode, InstalledCode code, HotSpotSpeculationLog speculationLog);
316 316
317 /** 317 /**
318 * Notifies the VM of statistics for a completed compilation.
319 *
320 * @param id the identifier of the compilation
321 * @param method the method compiled
322 * @param osr specifies if the compilation was for on-stack-replacement
323 * @param processedBytecodes the number of bytecodes processed during the compilation, including
324 * the bytecodes of all inlined methods
325 * @param time the amount time spent compiling {@code method}
326 * @param timeUnitsPerSecond the granularity of the units for the {@code time} value
327 * @param installedCode the nmethod installed as a result of the compilation
328 */
329 synchronized native void notifyCompilationStatistics(int id, HotSpotResolvedJavaMethodImpl method, boolean osr, int processedBytecodes, long time, long timeUnitsPerSecond,
330 InstalledCode installedCode);
331
332 /**
333 * Resets all compilation statistics. 318 * Resets all compilation statistics.
334 */ 319 */
335 native void resetCompilationStatistics(); 320 native void resetCompilationStatistics();
336 321
337 /** 322 /**