RFR: 8257700: Add logging for sealed classes in JVM_GetPermittedSubclasses [v2]
Harold Seigel
hseigel at openjdk.java.net
Tue Dec 15 22:01:56 UTC 2020
On Tue, 15 Dec 2020 17:33:33 GMT, Lois Foltan <lfoltan at openjdk.org> wrote:
>> Harold Seigel has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8257700: Add logging for sealed classes in JVM_GetPermittedSubclasses
>
> Looks good, one minor comment.
> Lois
Please review this updated webrev. It contains the change suggested by Lois. Here's sample output from the added logging:
[0.355s][trace][class,sealed] Calling GetPermittedSubclasses for sealed type NoLoadSubclasses
[0.355s][trace][class,sealed] - sealed class has 2 permitted subclasses
[0.355s][trace][class,sealed] - [1] = ExistingClassFile
[0.355s][trace][class,sealed] - resolution of permitted subclass I/Dont/Exist/Either failed: java.lang.NoClassDefFoundError: I/Dont/Exist/Either
[0.355s][trace][class,sealed] - compacting array from length 2 to 1
Thanks, Harold
-------------
PR: https://git.openjdk.java.net/jdk/pull/1780
More information about the hotspot-dev
mailing list