[lworld] RFR: 8363846: [lworld] Make Class.isIdentityClass() non-native [v3]

Coleen Phillimore coleenp at openjdk.org
Wed Jul 23 16:51:21 UTC 2025


On Wed, 23 Jul 2025 13:41:27 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> Yes this is better performance because C2 now doesn't have to intrinsify this native call.
>
> I'd go ahead and create the isIdentity field and move this code to the constructor.
> The modifiers, component type and primitive flag are all available at once.

I'd rather not have anymore JVM/java.lang.Class handshake than we have now.  This uses existing fields.

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

PR Review Comment: https://git.openjdk.org/valhalla/pull/1514#discussion_r2226120736


More information about the valhalla-dev mailing list