Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
22733:732763293625 | 22734:ab84ba890aa4 |
---|---|
125 // and we know that there are no endless loops | 125 // and we know that there are no endless loops |
126 return; | 126 return; |
127 } | 127 } |
128 | 128 |
129 JVMCIRuntime::ensure_jvmci_class_loader_is_initialized(); | 129 JVMCIRuntime::ensure_jvmci_class_loader_is_initialized(); |
130 jvmci_compute_offsets(); | 130 jvmci_compute_offsets(THREAD); |
131 HandleMark hm; | 131 HandleMark hm; |
132 ResourceMark rm; | 132 ResourceMark rm; |
133 Handle receiver = JVMCIRuntime::get_HotSpotJVMCIRuntime(CHECK_ABORT); | 133 Handle receiver = JVMCIRuntime::get_HotSpotJVMCIRuntime(CHECK_ABORT); |
134 | 134 |
135 JavaValue method_result(T_OBJECT); | 135 JavaValue method_result(T_OBJECT); |