RFR: 8234502: Merge GenCollectedHeap and SerialHeap
Albert Mingkun Yang
ayang at openjdk.org
Fri Dec 1 18:37:04 UTC 2023
On Fri, 1 Dec 2023 16:58:30 GMT, Lei Zaakjyu <duke at openjdk.org> wrote:
> I wonder if the files in 'src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/' which contain the java class 'GenCollectedHeap' should also be modified in this pr.
They should reflect the actual type inside VM. Some can probably be done before this PR though, e.g. `class PointerFinder` -- it's unclear why we report extra location info for SerialGC only.
This should be enough for all GCs. (I don't think the additional info is that useful.)
if (heap.isIn(a)) {
loc.heap = heap;
return loc;
}
(There may be more examples that can be done before this large PR.)
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16927#issuecomment-1836592457
More information about the hotspot-gc-dev
mailing list