RFR: 8364187: Make getClassAccessFlagsRaw non-native [v2]
Roger Riggs
rriggs at openjdk.org
Thu Jul 31 15:21:00 UTC 2025
On Thu, 31 Jul 2025 11:45:00 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
>> The VM and Java use the same logic for the value of isIdentity().
>> It is computed from as many a 5 fields/flags. At present, it has to be computed on each call to Class.isIdentity().
>> It would be reasonable to compute the value once in the constructor, but the code in the constructor is not run.
>
> Roger, can you file another RFE for this for repo-valhalla and I can try to figure out how to best to do this? Or I can. I didn't think the valhalla isIdentityClass() code was expensive to call.
Created [JDK-8364447](https://bugs.openjdk.org/browse/JDK-8364447)
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26517#discussion_r2245695722
More information about the core-libs-dev
mailing list