comparison jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/CompilerToVM.java @ 22699:ea58bbafd5b9

Move SpeculationLog implementation to HotSpotSpeculationLog, because it is not useful for other VMs
author Christian Wimmer <christian.wimmer@oracle.com>
date Wed, 21 Oct 2015 09:06:12 -0700
parents 2408f05d0ae7
children 316e768645c0
comparison
equal deleted inserted replaced
22698:37505a836aaf 22699:ea58bbafd5b9
35 import jdk.vm.ci.hotspotvmconfig.HotSpotVMField; 35 import jdk.vm.ci.hotspotvmconfig.HotSpotVMField;
36 import jdk.vm.ci.inittimer.InitTimer; 36 import jdk.vm.ci.inittimer.InitTimer;
37 import jdk.vm.ci.meta.JavaType; 37 import jdk.vm.ci.meta.JavaType;
38 import jdk.vm.ci.meta.ResolvedJavaMethod; 38 import jdk.vm.ci.meta.ResolvedJavaMethod;
39 import jdk.vm.ci.meta.ResolvedJavaType; 39 import jdk.vm.ci.meta.ResolvedJavaType;
40 import jdk.vm.ci.meta.SpeculationLog;
41 import sun.misc.Unsafe; 40 import sun.misc.Unsafe;
42 41
43 /** 42 /**
44 * Calls from Java into HotSpot. The behavior of all the methods in this class that take a native 43 * Calls from Java into HotSpot. The behavior of all the methods in this class that take a native
45 * pointer as an argument (e.g., {@link #getSymbol(long)}) is undefined if the argument does not 44 * pointer as an argument (e.g., {@link #getSymbol(long)}) is undefined if the argument does not
308 * {@link HotSpotVMConfig#codeInstallResultCacheFull}, 307 * {@link HotSpotVMConfig#codeInstallResultCacheFull},
309 * {@link HotSpotVMConfig#codeInstallResultCodeTooLarge}, 308 * {@link HotSpotVMConfig#codeInstallResultCodeTooLarge},
310 * {@link HotSpotVMConfig#codeInstallResultDependenciesFailed} or 309 * {@link HotSpotVMConfig#codeInstallResultDependenciesFailed} or
311 * {@link HotSpotVMConfig#codeInstallResultDependenciesInvalid}. 310 * {@link HotSpotVMConfig#codeInstallResultDependenciesInvalid}.
312 */ 311 */
313 native int installCode(TargetDescription target, HotSpotCompiledCode compiledCode, InstalledCode code, SpeculationLog speculationLog); 312 native int installCode(TargetDescription target, HotSpotCompiledCode compiledCode, InstalledCode code, HotSpotSpeculationLog speculationLog);
314 313
315 /** 314 /**
316 * Notifies the VM of statistics for a completed compilation. 315 * Notifies the VM of statistics for a completed compilation.
317 * 316 *
318 * @param id the identifier of the compilation 317 * @param id the identifier of the compilation