RFR: 8299072: java_lang_ref_Reference::clear_referent should be GC agnostic

Erik Österlund eosterlund at openjdk.org
Tue Dec 20 09:20:49 UTC 2022


On Tue, 20 Dec 2022 09:12:48 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> The current java_lang_ref_Reference::clear_referent implementation performs a raw reference clear. That doesn't work well with upcoming GC algorithms. It should be made GC agnostic by going through the normal access API.
>
> Looks good.  Mea culpa I think.

Thanks for the review, @kimbarrett!

-------------

PR: https://git.openjdk.org/jdk/pull/11736


More information about the hotspot-dev mailing list