diff src/share/vm/jvmci/jvmciCompiler.cpp @ 22734:ab84ba890aa4

8142511: must eagerly initialize classes with static fields accessed by JVMCI native code
author Doug Simon <doug.simon@oracle.com>
date Thu, 12 Nov 2015 21:35:35 +0100
parents 24fd08e99b35
children c5dfcc7bdfaf
line wrap: on
line diff
--- a/src/share/vm/jvmci/jvmciCompiler.cpp	Thu Nov 12 20:03:43 2015 +0100
+++ b/src/share/vm/jvmci/jvmciCompiler.cpp	Thu Nov 12 21:35:35 2015 +0100
@@ -127,7 +127,7 @@
   }
 
   JVMCIRuntime::ensure_jvmci_class_loader_is_initialized();
-  jvmci_compute_offsets();
+  jvmci_compute_offsets(THREAD);
   HandleMark hm;
   ResourceMark rm;
   Handle receiver = JVMCIRuntime::get_HotSpotJVMCIRuntime(CHECK_ABORT);