RFR(S): 8227692: Remove develop feature PrintMallocStatistics

Daniel D. Daugherty daniel.daugherty at oracle.com
Tue Jul 16 16:04:03 UTC 2019

For anyone that happens to be searching JBS for what happened to the
'-XX:+PrintMallocStatistics' option, you might want to include some
guidance on how they get the equivalent information from NMT...

A short note in JDK-8227692 should suffice...


On 7/15/19 4:16 PM, Doerr, Martin wrote:
> Hi,
> as announced on hotspot-dev, I'd like to remove the debug build feature for allocation statistics "AllocStats" (controlled by develop flag -XX:+PrintMallocStatistics).
> I've closed JDK-8227597<https://bugs.openjdk.java.net/browse/JDK-8227597> which was a proposal to reduce the performance impact of it, but several people have suggested to remove this feature which is even better IMHO.
> Bug:
> https://bugs.openjdk.java.net/browse/JDK-8227692
> Webrev:
> http://cr.openjdk.java.net/~mdoerr/8227692_remove_PrintMallocStatistics/webrev.00/
> I've also taken over the reworked inc_stat_counter from JDK-8227597<https://bugs.openjdk.java.net/browse/JDK-8227597> (allocation.inline.hpp).
> Please review.
> Best regards,
> Martin

More information about the hotspot-runtime-dev mailing list