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

Erik Österlund eosterlund at openjdk.org
Tue Jan 3 15:40:48 UTC 2023


On Tue, 3 Jan 2023 10:11:15 GMT, Aleksey Shipilev <shade 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 fine.

Thanks for the review @shipilev!

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

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


More information about the shenandoah-dev mailing list