hotspot/src/share/vm/runtime/sharedRuntime.cpp
changeset 46746 ea379ebb9447
parent 46630 75aa3e39d02c
child 46796 ec791efbdecf
equal deleted inserted replaced
46745:f7b9bb98bb72 46746:ea379ebb9447
  3109 
  3109 
  3110 #if INCLUDE_CDS
  3110 #if INCLUDE_CDS
  3111 
  3111 
  3112 void CDSAdapterHandlerEntry::init() {
  3112 void CDSAdapterHandlerEntry::init() {
  3113   assert(DumpSharedSpaces, "used during dump time only");
  3113   assert(DumpSharedSpaces, "used during dump time only");
  3114   _c2i_entry_trampoline = (address)MetaspaceShared::misc_data_space_alloc(SharedRuntime::trampoline_size());
  3114   _c2i_entry_trampoline = (address)MetaspaceShared::misc_code_space_alloc(SharedRuntime::trampoline_size());
  3115   _adapter_trampoline = (AdapterHandlerEntry**)MetaspaceShared::misc_data_space_alloc(sizeof(AdapterHandlerEntry*));
  3115   _adapter_trampoline = (AdapterHandlerEntry**)MetaspaceShared::misc_code_space_alloc(sizeof(AdapterHandlerEntry*));
  3116 };
  3116 };
  3117 
  3117 
  3118 #endif // INCLUDE_CDS
  3118 #endif // INCLUDE_CDS
  3119 
  3119 
  3120 
  3120