mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
8372571: ResourceHashTable for some AOT data structures miss placement operator when allocating
Reviewed-by: aboldtch, jsjolen, kvn
This commit is contained in:
parent
8f3d0ade11
commit
2139c8c6e6
@ -86,9 +86,9 @@ void AOTMappedHeapWriter::init() {
|
||||
if (CDSConfig::is_dumping_heap()) {
|
||||
Universe::heap()->collect(GCCause::_java_lang_system_gc);
|
||||
|
||||
_buffer_offset_to_source_obj_table = new BufferOffsetToSourceObjectTable(/*size (prime)*/36137, /*max size*/1 * M);
|
||||
_buffer_offset_to_source_obj_table = new (mtClassShared) BufferOffsetToSourceObjectTable(/*size (prime)*/36137, /*max size*/1 * M);
|
||||
_dumped_interned_strings = new (mtClass)DumpedInternedStrings(INITIAL_TABLE_SIZE, MAX_TABLE_SIZE);
|
||||
_fillers = new FillersTable();
|
||||
_fillers = new (mtClassShared) FillersTable();
|
||||
_requested_bottom = nullptr;
|
||||
_requested_top = nullptr;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user