diff src/share/vm/jvmci/jvmciJavaClasses.hpp @ 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 eb2091fcd682
children f41ed1d87d68
line wrap: on
line diff
--- a/src/share/vm/jvmci/jvmciJavaClasses.hpp	Thu Nov 12 20:03:43 2015 +0100
+++ b/src/share/vm/jvmci/jvmciJavaClasses.hpp	Thu Nov 12 21:35:35 2015 +0100
@@ -24,7 +24,7 @@
 #ifndef SHARE_VM_JVMCI_JVMCIJAVACLASSES_HPP
 #define SHARE_VM_JVMCI_JVMCIJAVACLASSES_HPP
 
-void jvmci_compute_offsets();
+void jvmci_compute_offsets(TRAPS);
 
 #include "classfile/systemDictionary.hpp"
 #include "oops/instanceMirrorKlass.hpp"
@@ -372,6 +372,6 @@
 #undef STATIC_BOOLEAN_FIELD
 #undef EMPTY_CAST
 
-void compute_offset(int &dest_offset, Klass* klass, const char* name, const char* signature, bool static_field);
+void compute_offset(int &dest_offset, Klass* klass, const char* name, const char* signature, bool static_field, TRAPS);
 
 #endif // SHARE_VM_JVMCI_JVMCIJAVACLASSES_HPP