RFR(S): 8139673: NMT stack traces in output should show mt component

Max Ockner max.ockner at oracle.com
Tue Jan 10 16:16:59 UTC 2017


Hello,
Please review this small enhancement to NMT detail report. I have added 
the memory type to the output for each NMT stacktrace.

Bug:  https://bugs.openjdk.java.net/browse/JDK-8139673
Webrev: http://cr.openjdk.java.net/~mockner/8139673/

The old stacktrace output looks like this:

[0x00007f17135fdd93] OSThread::pd_initialize()+0x63
[0x00007f17135fdc7f] OSThread::OSThread(int (*)(void*), void*)+0x2f
[0x00007f171360e020] os::create_thread(Thread*, os::ThreadType, unsigned 
long)+0x80
[0x00007f17139d1d3d] AbstractWorkGang::add_workers(unsigned int, bool)+0x18d
                              (malloc=2KB #10)

The new stacktrace output looks like this:

[0x00007f17135fdd93] OSThread::pd_initialize()+0x63
[0x00007f17135fdc7f] OSThread::OSThread(int (*)(void*), void*)+0x2f
[0x00007f171360e020] os::create_thread(Thread*, os::ThreadType, unsigned 
long)+0x80
[0x00007f17139d1d3d] AbstractWorkGang::add_workers(unsigned int, bool)+0x18d
                              (malloc=2KB type=Internal #10)

Tested with jtreg NMT tests.

Thanks,
Max


More information about the hotspot-runtime-dev mailing list