RFR: Add NMT support for Java heap

Stefan Karlsson stefan.karlsson at oracle.com
Fri Dec 15 09:08:19 UTC 2017

Looks good to me.

Two issues that we discussed off-line, that we might want to deal with 
in the future:

1) nmt_commit and friends can be inlined, which would result in the 
wrong frame being extracted by CALLER_PC.
2) We don't report the memory for our mark stacks.


On 2017-12-12 11:42, Per Liden wrote:
> As Aleksey noticed, we don't register the Java heap with the native 
> memory tracker. Here's a patch to do that.
> http://cr.openjdk.java.net/~pliden/zgc/nmt_java_heap/webrev.0/
> cheers,
> Per

More information about the zgc-dev mailing list