mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-21 12:20:29 +00:00
8381934: Wrong type passed to FREE_C_HEAP_ARRAY deallocating G1CardSetMemoryManager
Reviewed-by: iwalulya
This commit is contained in:
parent
6548fb80ac
commit
c4199831b9
@ -90,7 +90,7 @@ G1CardSetMemoryManager::~G1CardSetMemoryManager() {
|
||||
for (uint i = 0; i < num_mem_object_types(); i++) {
|
||||
_allocators[i].~G1CardSetAllocator();
|
||||
}
|
||||
FREE_C_HEAP_ARRAY(G1CardSetAllocator<G1CardSetContainer>, _allocators);
|
||||
FREE_C_HEAP_ARRAY(G1CardSetAllocator, _allocators);
|
||||
}
|
||||
|
||||
void G1CardSetMemoryManager::free(uint type, void* value) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user