Mercurial > hg > graal-jvmci-8
diff jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotCodeCacheProvider.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 | 1bbd4a7c274b |
children | d57508b1bcb5 |
line wrap: on
line diff
--- a/jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotCodeCacheProvider.java Wed Oct 21 15:05:59 2015 +0200 +++ b/jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotCodeCacheProvider.java Wed Oct 21 09:06:12 2015 -0700 @@ -147,7 +147,7 @@ } else { compiledCode = new HotSpotCompiledCode(compResult); } - int result = runtime.getCompilerToVM().installCode(target, compiledCode, resultInstalledCode, log); + int result = runtime.getCompilerToVM().installCode(target, compiledCode, resultInstalledCode, (HotSpotSpeculationLog) log); if (result != config.codeInstallResultOk) { String resultDesc = config.getCodeInstallResultDescription(result); if (compiledCode instanceof HotSpotCompiledNmethod) {