RFR: 8275775: VM.metaspace prints flag 'f' for classes that overrided finalize()
Yi Yang
yyang at openjdk.java.net
Fri Oct 22 07:07:23 UTC 2021
Some customers want to observe which loaded classes have overridden the finalize() method. I found that VM.metaspace can output detailed classes. It seems feasible to add 'f' flag to it. With this patch, I found that ZipFileSystem left a finalize after applying this patch, which was obsolete 5 years ago, maybe we should remove it?
-------------
Commit messages:
- 8275775 VM.metaspace prints flag 'f' for classes that overrided finalize()
Changes: https://git.openjdk.java.net/jdk/pull/6075/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6075&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8275775
Stats: 8 lines in 2 files changed: 2 ins; 3 del; 3 mod
Patch: https://git.openjdk.java.net/jdk/pull/6075.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/6075/head:pull/6075
PR: https://git.openjdk.java.net/jdk/pull/6075
More information about the hotspot-runtime-dev
mailing list