mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-21 12:20:29 +00:00
8381933: Possible memory leak in src/hotspot/share/gc/shenandoah/shenandoahHeapRegionCounters.cpp
Reviewed-by: kdnilsen, wkemper
This commit is contained in:
parent
74c3d426b0
commit
d6a255d74c
@ -78,6 +78,7 @@ ShenandoahHeapRegionCounters::ShenandoahHeapRegionCounters() :
|
||||
|
||||
ShenandoahHeapRegionCounters::~ShenandoahHeapRegionCounters() {
|
||||
if (_name_space != nullptr) FREE_C_HEAP_ARRAY(char, _name_space);
|
||||
if (_regions_data != nullptr) FREE_C_HEAP_ARRAY(PerfVariable*, _regions_data);
|
||||
}
|
||||
|
||||
void ShenandoahHeapRegionCounters::write_snapshot(PerfLongVariable** regions,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user