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

Aleksey Shipilev shade at openjdk.org
Tue May 30 08:11:05 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`

Review is done. Push approval is here.

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

PR Comment: https://git.openjdk.org/jdk17u-dev/pull/1403#issuecomment-1567962661


More information about the jdk-updates-dev mailing list