20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 #include "precompiled.hpp" |
24 #include "precompiled.hpp" |
|
25 #include "aot/aotLoader.hpp" |
25 #include "classfile/stringTable.hpp" |
26 #include "classfile/stringTable.hpp" |
26 #include "classfile/symbolTable.hpp" |
27 #include "classfile/symbolTable.hpp" |
27 #include "interpreter/linkResolver.hpp" |
28 #include "interpreter/linkResolver.hpp" |
28 #include "jvmci/compilerRuntime.hpp" |
29 #include "jvmci/compilerRuntime.hpp" |
29 #include "oops/cpCache.inline.hpp" |
30 #include "oops/cpCache.inline.hpp" |
30 #include "oops/oop.inline.hpp" |
31 #include "oops/oop.inline.hpp" |
31 #include "runtime/compilationPolicy.hpp" |
32 #include "runtime/compilationPolicy.hpp" |
|
33 #include "runtime/deoptimization.hpp" |
32 #include "runtime/frame.inline.hpp" |
34 #include "runtime/frame.inline.hpp" |
33 #include "runtime/deoptimization.hpp" |
35 #include "runtime/handles.inline.hpp" |
34 #include "runtime/interfaceSupport.inline.hpp" |
36 #include "runtime/interfaceSupport.inline.hpp" |
35 #include "runtime/vframe.inline.hpp" |
37 #include "runtime/vframe.inline.hpp" |
36 #include "utilities/sizes.hpp" |
38 #include "utilities/sizes.hpp" |
37 #include "aot/aotLoader.hpp" |
|
38 |
39 |
39 // Resolve and allocate String |
40 // Resolve and allocate String |
40 JRT_BLOCK_ENTRY(void, CompilerRuntime::resolve_string_by_symbol(JavaThread *thread, void* string_result, const char* name)) |
41 JRT_BLOCK_ENTRY(void, CompilerRuntime::resolve_string_by_symbol(JavaThread *thread, void* string_result, const char* name)) |
41 JRT_BLOCK |
42 JRT_BLOCK |
42 oop str = *(oop*)string_result; // Is it resolved already? |
43 oop str = *(oop*)string_result; // Is it resolved already? |