Integrated: 8299072: java_lang_ref_Reference::clear_referent should be GC agnostic
Erik Österlund
eosterlund at openjdk.org
Wed Jan 4 14:53:02 UTC 2023
On Tue, 20 Dec 2022 07:05:34 GMT, Erik Österlund <eosterlund 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.
This pull request has now been integrated.
Changeset: c32a34c2
Author: Erik Österlund <eosterlund at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/c32a34c2e534147bccf8320b095edda9e1088f5a
Stats: 8 lines in 5 files changed: 5 ins; 0 del; 3 mod
8299072: java_lang_ref_Reference::clear_referent should be GC agnostic
Co-authored-by: Axel Boldt-Christmas <aboldtch at openjdk.org>
Reviewed-by: dholmes, shade, kbarrett
-------------
PR: https://git.openjdk.org/jdk/pull/11736
More information about the shenandoah-dev
mailing list