dbg feature: PrintMallocStatistics still wanted?

Doerr, Martin martin.doerr at sap.com
Mon Jul 15 13:06:32 UTC 2019


Hi,

I recently noticed that the implementation for PrintMallocStatistics slows down the VM in fastdbg builds even if the feature is not active:
https://bugs.openjdk.java.net/browse/JDK-8227597

My current proposal just improves the performance impact:
http://cr.openjdk.java.net/~mdoerr/8227597_DBG_Inline_inc_bytes_allocated/webrev.01/

But now, the question has come up, if PrintMallocStatistics is still needed since we have NMT. Note that PrintMallocStatistics is only available in dbg builds.
Does anybody still want to use it?
Would anybody vote for removing this feature?

Best regards,
Martin



More information about the hotspot-dev mailing list