RFR: 8285364: Use more precise name for ReferenceType::REF_OTHER [v2]

Stefan Karlsson stefank at openjdk.java.net
Thu Apr 21 12:22:25 UTC 2022


On Thu, 21 Apr 2022 11:30:20 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:

>> Simple rename and some comments update.
>> 
>> Test: build
>
> Albert Mingkun Yang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   review

That's unfortunate. The allocate_instance_klass function can easily be changed to also check if class_name == vmSymbols::java_lang_ref_Reference(). But even with that, make images fails.

I wasn't a fan of the REF_REFERENCE name, since it isn't really that descriptive to me, and had hoped to fine a way to just get rid of it instead of finding a better name.

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

PR: https://git.openjdk.java.net/jdk/pull/8332


More information about the hotspot-dev mailing list