mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8338248: PartialArrayStateAllocator::Impl leaks Arena array
Reviewed-by: kbarrett, shade
This commit is contained in:
parent
5079c38ddf
commit
e70c9bccaa
1 changed files with 1 additions and 0 deletions
|
@ -100,6 +100,7 @@ PartialArrayStateAllocator::Impl::~Impl() {
|
||||||
for (uint i = 0; i < _num_workers; ++i) {
|
for (uint i = 0; i < _num_workers; ++i) {
|
||||||
_arenas[i].~Arena();
|
_arenas[i].~Arena();
|
||||||
}
|
}
|
||||||
|
FREE_C_HEAP_ARRAY(Arena*, _arenas);
|
||||||
}
|
}
|
||||||
|
|
||||||
PartialArrayState* PartialArrayStateAllocator::Impl::allocate(uint worker_id,
|
PartialArrayState* PartialArrayStateAllocator::Impl::allocate(uint worker_id,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue