RFR: 8339112: Move JVM Klass flags out of AccessFlags
    John R Rose 
    jrose at openjdk.org
       
    Thu Aug 29 16:42:22 UTC 2024
    
    
  
On Mon, 26 Aug 2024 23:54:22 GMT, Coleen Phillimore <coleenp at openjdk.org> wrote:
> Move JVM implementation access flags that are not specified by the classfile format into Klass so we can shrink AccessFlags to u2 in a future change.
> 
> Tested with tier1-7.
> 
> NOTE: there are arm, ppc and s390 changes to this that are just a guess.  Also, graal changes.
src/hotspot/share/oops/klass.hpp line 198:
> 196: #endif
> 197: 
> 198:   KlassFlags  _misc_flags;
On the line above (167) where _access_flags is defined, maybe leave a forwarding comment, something like:
// Some flags created by the JVM, not in the class file itself, are in _misc_flags below.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20719#discussion_r1736678013
    
    
More information about the hotspot-dev
mailing list