# HG changeset patch # User Doug Simon # Date 1447278204 -3600 # Node ID 8c999e913d82f824b256da529259c9ebcf2b7640 # Parent 2adc45c38bde4b35a950c01dc82690c6727931ea temporary workaround until JDK-8142511 is integrated diff -r 2adc45c38bde -r 8c999e913d82 graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompileTheWorld.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompileTheWorld.java Wed Nov 11 17:02:13 2015 +0100 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/CompileTheWorld.java Wed Nov 11 22:43:24 2015 +0100 @@ -63,6 +63,7 @@ import java.util.jar.JarFile; import java.util.stream.Collectors; +import jdk.vm.ci.code.BytecodeFrame; import jdk.vm.ci.hotspot.HotSpotCompilationRequest; import jdk.vm.ci.hotspot.HotSpotJVMCIRuntime; import jdk.vm.ci.hotspot.HotSpotJVMCIRuntimeProvider; @@ -476,6 +477,9 @@ }); try { + // Temporary workaround until JDK-8142511 is integrated + BytecodeFrame.isPlaceholderBci(0); + // compile dummy method to get compiler initialized outside of the // config debug override. HotSpotResolvedJavaMethod dummyMethod = (HotSpotResolvedJavaMethod) JVMCI.getRuntime().getHostJVMCIBackend().getMetaAccess().lookupJavaMethod(