Skip to content

Commit 2139c8c

Browse files
author
Thomas Schatzl
committed
8372571: ResourceHashTable for some AOT data structures miss placement operator when allocating
Reviewed-by: aboldtch, jsjolen, kvn
1 parent 8f3d0ad commit 2139c8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/hotspot/share/cds/aotMappedHeapWriter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ void AOTMappedHeapWriter::init() {
8686
if (CDSConfig::is_dumping_heap()) {
8787
Universe::heap()->collect(GCCause::_java_lang_system_gc);
8888

89-
_buffer_offset_to_source_obj_table = new BufferOffsetToSourceObjectTable(/*size (prime)*/36137, /*max size*/1 * M);
89+
_buffer_offset_to_source_obj_table = new (mtClassShared) BufferOffsetToSourceObjectTable(/*size (prime)*/36137, /*max size*/1 * M);
9090
_dumped_interned_strings = new (mtClass)DumpedInternedStrings(INITIAL_TABLE_SIZE, MAX_TABLE_SIZE);
91-
_fillers = new FillersTable();
91+
_fillers = new (mtClassShared) FillersTable();
9292
_requested_bottom = nullptr;
9393
_requested_top = nullptr;
9494

0 commit comments

Comments
 (0)