Skip to content

Commit e70c9bc

Browse files
committedAug 12, 2024
8338248: PartialArrayStateAllocator::Impl leaks Arena array
Reviewed-by: kbarrett, shade
1 parent 5079c38 commit e70c9bc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/hotspot/share/gc/shared/partialArrayState.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ PartialArrayStateAllocator::Impl::~Impl() {
100100
for (uint i = 0; i < _num_workers; ++i) {
101101
_arenas[i].~Arena();
102102
}
103+
FREE_C_HEAP_ARRAY(Arena*, _arenas);
103104
}
104105

105106
PartialArrayState* PartialArrayStateAllocator::Impl::allocate(uint worker_id,

0 commit comments

Comments
 (0)