RFR: 8275775: Add jcmd VM.classes to print details of all classes [v6]

Yi Yang yyang at openjdk.java.net
Fri Mar 4 03:53:53 UTC 2022


On Fri, 4 Mar 2022 03:43:59 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> I'm not sure what's the meaning of "non-trivial finalize" method, can you elaborate more for it?
>> (P.S. All comments are addressed)
>
> I mean a finalize() method that actually does something. I checked the code and you will print F is the current class has a non-empty finalize() method, or it has a superclass with a non-empty finalize method. I would suggest updating the text to:
> 
> `F = has, or inherits, a non-empty finalize method`
> 
> Thanks,
> David

Done. This description is more clear compared to non-trivial finalize.

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

PR: https://git.openjdk.java.net/jdk/pull/7105


More information about the hotspot-dev mailing list