hotspot/src/share/vm/prims/jni.cpp
changeset 6176 4d9030fe341f
parent 5547 f4b087cbb361
child 7397 5b173b4ca846
--- a/hotspot/src/share/vm/prims/jni.cpp	Wed Jul 28 17:57:43 2010 -0400
+++ b/hotspot/src/share/vm/prims/jni.cpp	Tue Aug 03 08:13:38 2010 -0400
@@ -3414,6 +3414,8 @@
 
   thread->initialize_tlab();
 
+  thread->cache_global_variables();
+
   // Crucial that we do not have a safepoint check for this thread, since it has
   // not been added to the Thread list yet.
   { Threads_lock->lock_without_safepoint_check();