On Tue, 11 Feb 2025 20:56:39 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.

src/hotspot/share/prims/jvm.cpp line 2283:

> 2281: // Otherwise it returns its argument value which is the _the_class 
> Klass*.
> 2282: // Please, refer to the description in the jvmtiThreadState.hpp.
> 2283: 

Does this "RedefineClasses support" comment still belong here?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/23572#discussion_r1960900041

Reply via email to