RFR: 8275775: VM.metaspace prints flag 'f' for classes that have non-trivial finalize() [v3]

Yi Yang yyang at openjdk.java.net
Wed Oct 27 01:30:37 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 one additional commit since the last revision:

  typo

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

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

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

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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