G1 uses extra memory for RSets

Milan Mimica milan.mimica at gmail.com
Sat Sep 9 11:17:36 UTC 2017


čet, 7. ruj 2017. u 20:58 Stanislav Levental <stanislav.levental at gmail.com>
napisao je:

>
> We are running java on a 30Gb machnie with Xmx=20Gb, howewer, java managed
> to use extra 7.5Gb above that 20Gb. According to NMT, the most significant
> sources of memory consumptions are:
>

I have experienced a similar situation and wrote a blog post about it [1].

 - Is there any information about internal implementation details available
> anywhere?
>

This [2] is the best explanation I could find. You can also check out
hotspot sources. I found
OtherRegionsTable::add_reference(OopOrNarrowOopStar from, uint tid) easy to
follow.

[1] https://medium.com/@milan.mimica/everybody-leaks-f210631f13ef
[2] https://www.infoq.com/articles/tuning-tips-G1-GC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20170909/2f1b9a63/attachment.html>


More information about the hotspot-gc-use mailing list