-
Bug
-
Resolution: Fixed
-
P4
-
16
-
b18
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8273470 | 11.0.14 | Christoph Langer | P4 | Resolved | Fixed | b01 |
The ParallelObjectIterator should have virtual destructor, since implementations of CollectedHeap::parallel_object_iterator() returns the base type, which is later passed to the delete operator.
Today both G1 and Shenandoah leaks memory here. I noticed this bug when when implementing ZCollectedHeap::parallel_object_iterator(). Bug was introduced inJDK-8215624.
Today both G1 and Shenandoah leaks memory here. I noticed this bug when when implementing ZCollectedHeap::parallel_object_iterator(). Bug was introduced in
- backported by
-
JDK-8273470 ParallelObjectIterator should have virtual destructor
-
- Resolved
-
- relates to
-
JDK-8215624 Add parallel heap iteration for jmap –histo
-
- Resolved
-
- links to
-
Commit openjdk/jdk11u-dev/085dbe32
-
Commit openjdk/jdk/6d19fe65
-
Review openjdk/jdk11u-dev/127
-
Review openjdk/jdk/395
(1 links to)