1.1 --- a/src/share/vm/prims/jni.cpp Fri Nov 09 08:36:17 2012 -0800 1.2 +++ b/src/share/vm/prims/jni.cpp Mon Nov 12 14:03:53 2012 -0800 1.3 @@ -24,6 +24,7 @@ 1.4 */ 1.5 1.6 #include "precompiled.hpp" 1.7 +#include "ci/ciReplay.hpp" 1.8 #include "classfile/altHashing.hpp" 1.9 #include "classfile/classLoader.hpp" 1.10 #include "classfile/javaClasses.hpp" 1.11 @@ -5151,6 +5152,7 @@ 1.12 1.13 // Check if we should compile all classes on bootclasspath 1.14 NOT_PRODUCT(if (CompileTheWorld) ClassLoader::compile_the_world();) 1.15 + NOT_PRODUCT(if (ReplayCompiles) ciReplay::replay(thread);) 1.16 // Since this is not a JVM_ENTRY we have to set the thread state manually before leaving. 1.17 ThreadStateTransition::transition_and_fence(thread, _thread_in_vm, _thread_in_native); 1.18 } else {