RFR: 8275775: VM.metaspace prints flag 'f' for classes that overrided finalize() [v2]

Yi Yang yyang at openjdk.java.net
Tue Oct 26 02:37:41 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?

Yi Yang has updated the pull request incrementally with three additional commits since the last revision:

 - Merge branch 'ms_report' of https://github.com/kelthuzadx/jdk into ms_report
 - use has-nontrivial-finalize
 - 8275775 VM.metaspace prints flag 'f' for classes that overrided finalize()


  - all: https://git.openjdk.java.net/jdk/pull/6075/files
  - new: https://git.openjdk.java.net/jdk/pull/6075/files/80559583..51c959b1

 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6075&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6075&range=00-01

  Stats: 3 lines in 2 files changed: 0 ins; 0 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