< prev index next >

src/hotspot/share/aot/aotCodeHeap.cpp

Print this page
rev 54697 : imported patch 8221734-v2-merge
rev 54698 : imported patch 8221734-v2


  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  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 "oops/method.inline.hpp"

  39 #include "runtime/handles.inline.hpp"
  40 #include "runtime/os.hpp"
  41 #include "runtime/safepointVerifiers.hpp"
  42 #include "runtime/sharedRuntime.hpp"
  43 #include "runtime/vmOperations.hpp"
  44 #include "utilities/sizes.hpp"
  45 
  46 bool AOTLib::_narrow_oop_shift_initialized = false;
  47 int  AOTLib::_narrow_oop_shift = 0;
  48 int  AOTLib::_narrow_klass_shift = 0;
  49 
  50 address AOTLib::load_symbol(const char *name) {
  51   address symbol = (address) os::dll_lookup(_dl_handle, name);
  52   if (symbol == NULL) {
  53     tty->print_cr("Shared file %s error: missing %s", _name, name);
  54     vm_exit(1);
  55   }
  56   return symbol;
  57 }
  58 




  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  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 "oops/method.inline.hpp"
  39 #include "runtime/deoptimization.hpp"
  40 #include "runtime/handles.inline.hpp"
  41 #include "runtime/os.hpp"
  42 #include "runtime/safepointVerifiers.hpp"
  43 #include "runtime/sharedRuntime.hpp"
  44 #include "runtime/vmOperations.hpp"
  45 #include "utilities/sizes.hpp"
  46 
  47 bool AOTLib::_narrow_oop_shift_initialized = false;
  48 int  AOTLib::_narrow_oop_shift = 0;
  49 int  AOTLib::_narrow_klass_shift = 0;
  50 
  51 address AOTLib::load_symbol(const char *name) {
  52   address symbol = (address) os::dll_lookup(_dl_handle, name);
  53   if (symbol == NULL) {
  54     tty->print_cr("Shared file %s error: missing %s", _name, name);
  55     vm_exit(1);
  56   }
  57   return symbol;
  58 }
  59 


< prev index next >