RFR: 8339113: AccessFlags can be u2 in metadata [v5]

Coleen Phillimore coleenp at openjdk.org
Thu Jan 2 12:59:37 UTC 2025


On Fri, 20 Dec 2024 21:34:58 GMT, Dean Long <dlong at openjdk.org> wrote:

>> Coleen Phillimore has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Restore ACC in comment.
>
> src/hotspot/share/oops/method.cpp line 1655:
> 
>> 1653:     return;
>> 1654:   }
>> 1655:   jshort flags = checked_cast<jshort>(access_flags().as_unsigned_short());
> 
> Can we cleanup the intrinsics code next, to stop using jshort for flags?

I was going to file a new issue but this is really easy to fix, so I added this fix to this change.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22246#discussion_r1900852859


More information about the serviceability-dev mailing list