RFR: Add NMT support for Java heap

Per Liden per.liden at oracle.com
Fri Dec 15 09:16:07 UTC 2017


On 2017-12-15 10:08, Stefan Karlsson wrote:
> Looks good to me.

Thanks!

>
> 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.

I agree.

cheers,
Per

>
> Thanks,
> StefanK
>
> 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