RFR: 8291360: Create entry points to expose low-level class file information
    Harold Seigel 
    hseigel at openjdk.org
       
    Mon Aug  1 16:47:51 UTC 2022
    
    
  
On Mon, 1 Aug 2022 14:04:22 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
>> Though in this case the Java code has defined behaviour for array types so it is correct for the VM to assume this is not an array type and to assert if it is.
>
> My companion question was whether the native code can for efficiently map from array class to component type than Java.
I don't know whether Java or the JVM is faster but I would rather keep this code in Java so that I don't have to change existing method JVM_GetClassAccessFlags().  (It's used by Class.getClassAccessFlagsRaw().)
-------------
PR: https://git.openjdk.org/jdk/pull/9688
    
    
More information about the hotspot-dev
mailing list