20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 #include "precompiled.hpp"
25
26 #include "aot/aotCodeHeap.hpp"
27 #include "aot/aotLoader.hpp"
28 #include "ci/ciUtilities.inline.hpp"
29 #include "classfile/javaAssertions.hpp"
30 #include "gc/shared/cardTable.hpp"
31 #include "gc/shared/cardTableBarrierSet.hpp"
32 #include "gc/shared/gcConfig.hpp"
33 #include "gc/g1/heapRegion.hpp"
34 #include "interpreter/abstractInterpreter.hpp"
35 #include "jvmci/compilerRuntime.hpp"
36 #include "jvmci/jvmciRuntime.hpp"
37 #include "memory/allocation.inline.hpp"
38 #include "memory/universe.hpp"
39 #include "oops/compressedOops.hpp"
40 #include "oops/method.inline.hpp"
41 #include "runtime/deoptimization.hpp"
42 #include "runtime/handles.inline.hpp"
43 #include "runtime/os.hpp"
44 #include "runtime/safepointVerifiers.hpp"
45 #include "runtime/sharedRuntime.hpp"
46 #include "runtime/vmOperations.hpp"
47 #include "utilities/sizes.hpp"
48
49 bool AOTLib::_narrow_oop_shift_initialized = false;
50 int AOTLib::_narrow_oop_shift = 0;
51 int AOTLib::_narrow_klass_shift = 0;
52
53 address AOTLib::load_symbol(const char *name) {
54 address symbol = (address) os::dll_lookup(_dl_handle, name);
55 if (symbol == NULL) {
56 tty->print_cr("Shared file %s error: missing %s", _name, name);
57 vm_exit(1);
58 }
59 return symbol;
|
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 #include "precompiled.hpp"
25
26 #include "aot/aotCodeHeap.hpp"
27 #include "aot/aotLoader.hpp"
28 #include "ci/ciUtilities.inline.hpp"
29 #include "classfile/javaAssertions.hpp"
30 #include "gc/shared/cardTable.hpp"
31 #include "gc/shared/cardTableBarrierSet.hpp"
32 #include "gc/shared/gcConfig.hpp"
33 #include "gc/g1/heapRegion.hpp"
34 #include "interpreter/abstractInterpreter.hpp"
35 #include "jvmci/compilerRuntime.hpp"
36 #include "jvmci/jvmciRuntime.hpp"
37 #include "memory/allocation.inline.hpp"
38 #include "memory/universe.hpp"
39 #include "oops/compressedOops.hpp"
40 #include "oops/klass.inline.hpp"
41 #include "oops/method.inline.hpp"
42 #include "runtime/deoptimization.hpp"
43 #include "runtime/handles.inline.hpp"
44 #include "runtime/os.hpp"
45 #include "runtime/safepointVerifiers.hpp"
46 #include "runtime/sharedRuntime.hpp"
47 #include "runtime/vmOperations.hpp"
48 #include "utilities/sizes.hpp"
49
50 bool AOTLib::_narrow_oop_shift_initialized = false;
51 int AOTLib::_narrow_oop_shift = 0;
52 int AOTLib::_narrow_klass_shift = 0;
53
54 address AOTLib::load_symbol(const char *name) {
55 address symbol = (address) os::dll_lookup(_dl_handle, name);
56 if (symbol == NULL) {
57 tty->print_cr("Shared file %s error: missing %s", _name, name);
58 vm_exit(1);
59 }
60 return symbol;
|