mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8247470: Fix CHeap GrowableArray NMT accounting
Reviewed-by: coleenp, tschatzl, kbarrett
This commit is contained in:
parent
0a108f9ef2
commit
77bdc30650
67 changed files with 144 additions and 158 deletions
|
@ -51,7 +51,7 @@ CompactHashtableWriter::CompactHashtableWriter(int num_entries,
|
|||
_num_entries_written = 0;
|
||||
_buckets = NEW_C_HEAP_ARRAY(GrowableArray<Entry>*, _num_buckets, mtSymbol);
|
||||
for (int i=0; i<_num_buckets; i++) {
|
||||
_buckets[i] = new (ResourceObj::C_HEAP, mtSymbol) GrowableArray<Entry>(0, true, mtSymbol);
|
||||
_buckets[i] = new (ResourceObj::C_HEAP, mtSymbol) GrowableArray<Entry>(0, mtSymbol);
|
||||
}
|
||||
|
||||
_stats = stats;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue