RFR: 8293295: Add type check asserts to java_lang_ref_Reference accessors

Axel Boldt-Christmas aboldtch at openjdk.org
Fri Sep 2 07:42:36 UTC 2022


>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.
Options

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

Commit messages:
 - 8293295: Add type check asserts to java_lang_ref_Reference accessors

Changes: https://git.openjdk.org/jdk/pull/10139/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10139&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8293295
  Stats: 3 lines in 1 file changed: 3 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/10139.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10139/head:pull/10139

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


More information about the hotspot-runtime-dev mailing list