RFR: 8310160: Make GC APIs for handling archive heap objects agnostic of GC policy [v2]
Thomas Stuefe
stuefe at openjdk.org
Wed Jun 21 18:18:06 UTC 2023
On Wed, 21 Jun 2023 15:23:28 GMT, Ashutosh Mehra <duke at openjdk.org> wrote:
> My whole idea behind this is to have common GC APIs that the CDS can use to manage archive heap. As long as collector internals are properly abstracted out and hidden behind the APIs, CDS wouldn't need to worry about what the individual collectors do internally.
> I agree the ideal scenario would be to use object allocation APIs but considering the issues @iklam pointed out, it doesn't look like a viable approach. @fisk do you agree with this assessment? Do you have any other alternative approach in mind?
I agree, that this is still an improvement and worth doing unless Erik has a better idea.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14520#issuecomment-1601353017
More information about the hotspot-dev
mailing list