[jdk17u-dev] Integrated: 8293295: Add type check asserts to java_lang_ref_Reference accessors

Aleksey Shipilev shade at openjdk.org
Tue May 30 08:11:06 UTC 2023


On Fri, 26 May 2023 17:06:50 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> Maintenance backport: check that accessors are used for proper reference types. Helps to maintain GCs.
> 
> The backport is not clean, because we miss the hunk for `java_lang_ref_Reference::weak_referent`, added by Loom integration in JDK 19.
> 
> Additional testing:
>  - [x] Linux AArch64 fastdebug `tier1 tier2 tier3`

This pull request has now been integrated.

Changeset: bc78e07d
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/bc78e07d534459c53156d8468cd1a0f79ef5da30
Stats:     13 lines in 2 files changed: 13 ins; 0 del; 0 mod

8293295: Add type check asserts to java_lang_ref_Reference accessors

Reviewed-by: phh
Backport-of: 32f4dc84037696f664114e40357bca66337c6178

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

PR: https://git.openjdk.org/jdk17u-dev/pull/1403


More information about the jdk-updates-dev mailing list