> This change stores InstanceKlass for interface and abstract classes in the 
> non-class metaspace, since class metaspace will have limits on number of 
> classes that can be represented when Lilliput changes go in.  Classes that 
> have no instances created for them don't require compressed class pointers.  
> The generated LambdaForm classes are also AllStatic, and changing them to 
> abstract moves them to non-class metaspace too.  It's not technically great 
> to make them abstract and not final but you can't have both.  Java classfile 
> access flags have no way of specifying something like AllStatic.
> 
> Tested with tier1-8.

Coleen Phillimore has updated the pull request incrementally with one 
additional commit since the last revision:

  Incorporated a set of Thomas Stuefe's comments. Take out AbstractClass 
MetaspaceObj::Type.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/19157/files
  - new: https://git.openjdk.org/jdk/pull/19157/files/da077055..c58278a5

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=19157&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=19157&range=00-01

  Stats: 37 lines in 16 files changed: 3 ins; 1 del; 33 mod
  Patch: https://git.openjdk.org/jdk/pull/19157.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19157/head:pull/19157

PR: https://git.openjdk.org/jdk/pull/19157

Reply via email to