Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
22733:732763293625 | 22734:ab84ba890aa4 |
---|---|
22 */ | 22 */ |
23 | 23 |
24 #ifndef SHARE_VM_JVMCI_JVMCIJAVACLASSES_HPP | 24 #ifndef SHARE_VM_JVMCI_JVMCIJAVACLASSES_HPP |
25 #define SHARE_VM_JVMCI_JVMCIJAVACLASSES_HPP | 25 #define SHARE_VM_JVMCI_JVMCIJAVACLASSES_HPP |
26 | 26 |
27 void jvmci_compute_offsets(); | 27 void jvmci_compute_offsets(TRAPS); |
28 | 28 |
29 #include "classfile/systemDictionary.hpp" | 29 #include "classfile/systemDictionary.hpp" |
30 #include "oops/instanceMirrorKlass.hpp" | 30 #include "oops/instanceMirrorKlass.hpp" |
31 | 31 |
32 /* This macro defines the structure of the CompilationResult - classes. | 32 /* This macro defines the structure of the CompilationResult - classes. |
370 #undef STATIC_OBJARRAYOOP_FIELD | 370 #undef STATIC_OBJARRAYOOP_FIELD |
371 #undef STATIC_INT_FIELD | 371 #undef STATIC_INT_FIELD |
372 #undef STATIC_BOOLEAN_FIELD | 372 #undef STATIC_BOOLEAN_FIELD |
373 #undef EMPTY_CAST | 373 #undef EMPTY_CAST |
374 | 374 |
375 void compute_offset(int &dest_offset, Klass* klass, const char* name, const char* signature, bool static_field); | 375 void compute_offset(int &dest_offset, Klass* klass, const char* name, const char* signature, bool static_field, TRAPS); |
376 | 376 |
377 #endif // SHARE_VM_JVMCI_JVMCIJAVACLASSES_HPP | 377 #endif // SHARE_VM_JVMCI_JVMCIJAVACLASSES_HPP |