RFR: 8293295: Add type check asserts to java_lang_ref_Reference accessors [v2]

Stefan Karlsson stefank at openjdk.org
Fri Sep 2 09:17:49 UTC 2022


On Fri, 2 Sep 2022 08:21:11 GMT, Axel Boldt-Christmas <aboldtch at openjdk.org> wrote:

>> From a discussion in [JDK-8293207](https://bugs.openjdk.org/browse/JDK-8293207) / #10117 it was brought up that the Weak/Soft and Phantom specific accessor in java_lang_ref_Reference does not assert that the type is valid.
>
> Axel Boldt-Christmas has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Add is_soft and is_weak

Looks good!

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

Marked as reviewed by stefank (Reviewer).

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


More information about the hotspot-runtime-dev mailing list