RFR: 8338526: Don't store abstract and interface Klasses in class metaspace [v4]

Markus Grönlund mgronlun at openjdk.org
Thu Aug 29 17:48:21 UTC 2024


On Thu, 29 Aug 2024 17:42:20 GMT, Markus Grönlund <mgronlun at openjdk.org> wrote:

>> Its very rare, if at all, that an abstract or an interface would be tagged in JFR. Tags are for concrete implementations, mostly InstanceKlass*.
>
> I now read the JIRA issue. JFR do process loads of  java/lang/invoke/LambdaForm$MH and derivatives.

It's fine to have each Klass* report whether it can be compressed. If not, it will be represented using the non-compressed version, which will be a bit more bloated, but no problems.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/19157#discussion_r1736814770


More information about the core-libs-dev mailing list