mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8367987: Memory leak in MemBaseline: Must delete _vma_allocations
Reviewed-by: phubner, azafari
This commit is contained in:
parent
682fd7846c
commit
258fcf9f5e
@ -89,6 +89,10 @@ class MemBaseline {
|
||||
_baseline_type(Not_baselined) {
|
||||
}
|
||||
|
||||
~MemBaseline() {
|
||||
delete _vma_allocations;
|
||||
}
|
||||
|
||||
void baseline(bool summaryOnly = true);
|
||||
|
||||
BaselineType baseline_type() const { return _baseline_type; }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user