equal
deleted
inserted
replaced
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 |