RFR: 8285364: Use more precise name for ReferenceType::REF_OTHER [v2]
Albert Mingkun Yang
ayang at openjdk.java.net
Thu Apr 21 15:12:26 UTC 2022
On Thu, 21 Apr 2022 12:19:20 GMT, Stefan Karlsson <stefank at openjdk.org> wrote:
> had hoped to fine a way to just get rid of it instead of finding a better name.
`vmClasses::Reference_klass()->set_reference_type(REF_SOFT);` works. In fact, anything other than `REF_NONE` works. The correct ref-type for each subclass of `Reference` will be set later on in `vmClasses::resolve_all`. Do you think that is better?
-------------
PR: https://git.openjdk.java.net/jdk/pull/8332
More information about the hotspot-dev
mailing list