<div dir="ltr"><div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Thu, 4 Oct 2018 at 15:06, Rodrigo Bruno <<a href="mailto:rbruno@gsd.inesc-id.pt">rbruno@gsd.inesc-id.pt</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Stefan,<div><br></div><br><div class="gmail_quote"><div dir="ltr">Stefan Johansson <<a href="mailto:stefan.johansson@oracle.com" target="_blank">stefan.johansson@oracle.com</a>> escreveu no dia quarta, 3/10/2018 à(s) 21:18:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
We discussed this a bit further today and I'll try to summarize what we <br>
currently think is the way forward and what a first version should include:<br>
* Periodic concurrent cycles (which after JDK-6490394 will uncommit <br>
memory) are on by default, but will only trigger if no other GC has <br>
occurred during the interval. The length of the interval should be <br>
controlled by a flag and if set to -1, the periodic GCs will be turned <br>
off. The name should probably be something other than GCFrequency, like <br>
PeriodicGCInterval or so. This will be similar to what currently is <br>
called CMSTriggerInterval for CMS.<br>
* You can also control the periodic GCs by specifying a system average <br>
load threshold, which the current avg load must be under for a periodic <br>
GC to occur. This value will not be consider by default, and I think we <br>
should try to come up with at more describing name than MaxLoadGC.<br>
* The code checking if a periodic GC should trigger will be added to the <br>
already existing G1YoungRemSetSamplingThread. This thread currently is <br>
pretty idle and there are ideas around removing it, but if that is done <br>
we can move the idle-checking code then.<br>
* If you want the periodic GC to be a full collection, there will be a <br>
flag to control this.<br>
<br>
Those were the key parts in our discussion, and I think Thomas plans to <br>
update his webrev in a few days or so. Does this still sound like a good <br>
starting point?<br>
<br></blockquote><div><br></div><div>Sounds great for me!</div></div></div></blockquote><div>No objections on my side too.</div><div>Regards </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_quote"><div><br></div><div>cheers,</div><div>rodrigo</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
And also, other users having opinions are very welcome :)<br>
<br>
Thanks,<br>
Stefan<br>
> <br>
> -- <br>
> Ruslan<br>
> CEO @ Jelastic<br>
</blockquote></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="font-size:12.8px"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-family:"Times New Roman""><span style="font-family:Calibri,sans-serif;font-size:15px">Ruslan</span><br style="font-family:Calibri,sans-serif;font-size:15px"><span style="font-family:Calibri,sans-serif;font-size:15px">CEO @ </span><span style="font-family:Calibri,sans-serif;font-size:15px"><a href="https://jelastic.com/" style="color:rgb(17,85,204)" target="_blank">Jelastic</a></span></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>