RFR: 8275775: VM.metaspace prints flag 'f' for classes that overrided finalize()
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?
- 8275775 VM.metaspace prints flag 'f' for classes that overrided finalize()
Stats: 8 lines in 2 files changed: 2 ins; 3 del; 3 mod
Fetch: git fetch https://git.openjdk.java.net/jdk pull/6075/head:pull/6075
More information about the hotspot-runtime-dev