Relates :
|
http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2015-March/014165.html I tried to use NMT with details option on OpenJDK7 on RHEL6.6, but I got address at AllocateHeap() as malloc() caller. I checked symbol in libjvm.so in OracleJDK8u40 Linux x64, it has AllocateHeap() symbol. AllocateHeap() is defined as inline function, and it gives CURRENT_PC to os::malloc(). I guess that implementation expects AllocateHeap() will be inlined. It may occur with GCC (g++) optimization only, however I want to fix it to analyze native memory with NMT on Linux.