RFR(XXS): 8199752: NMT: Memory allocated by Unsafe.allocateMemory should be tagged as mtOther

Thomas Stüfe thomas.stuefe at gmail.com
Sat Mar 17 06:20:16 UTC 2018

 Hi Zhengyu,

looks good.

The only other user of mtOther is TestChunkedList, which seems a bit of a
misfit (test/hotspot/gtest/utilities/test_chunkedList.cpp). Maybe we should
make this mtInternal? Not that it really matters, since it is just a test.

Were you able to figure out why we do not see callstacks for the native JDK
frames calling Unsafe.AllocateMemory?

Best Regards, Thomas

On Fri, Mar 16, 2018 at 9:04 PM, Zhengyu Gu <zgu at redhat.com> wrote:

> Hi All,
> Please review this trivial change. mtOther is the category for memory
> allocation *not* by JVM.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8199752
> Webrev: http://cr.openjdk.java.net/~zgu/8199752/webrev.00/index.html
> Test:
>   hotspot_runtime on Linux 64
> Thanks,
> -Zhengyu

More information about the hotspot-runtime-dev mailing list