On Thu, 20 Feb 2025 20:19:15 GMT, Coleen Phillimore <cole...@openjdk.org> wrote:

>> Class.isInterface() can check modifier flags, Class.isArray() can check 
>> whether component mirror is non-null and Class.isPrimitive() needs a new 
>> final transient boolean in java.lang.Class that the JVM code initializes.
>> Tested with tier1-4 and performance tests.
>
> Coleen Phillimore has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   Fix whitespace

Looks good!

Regarding @IntrinsicCandidate and its effects on JIT-compiler inlining 
decisions, @ForceInline could be added, but IMO it's not necessary since new 
implementations are small.

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

Marked as reviewed by vlivanov (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/23572#pullrequestreview-2631244815

Reply via email to