<div dir="ltr">Hi Kirk, thank you for the additional important highlights. <br><div class="gmail_extra"><br><div class="gmail_quote">On 1 June 2018 at 08:21, Kirk Pepperdine <span dir="ltr"><<a href="mailto:kirk.pepperdine@gmail.com" target="_blank">kirk.pepperdine@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi,<div><br></div><div>I’ve tuned a dozens of applications where I wished that G1 returned to a minimum memory configuration when it could. Thus I strongly support the notion of returning uncommitted memory to the OS, this email flows into my previous arguments about speculatively triggered collections. IME, speculatively triggered GC, such as the one proposed in this JEP, has very very very rarely worked out to be a good thing. The trigger in every case has been based on some assumption that is fundamentally flawed. I would revert to the two main culprits, speculative calls to System or Runtime.gc() and DGC (RMI) resetting the guaranteed GC interval value (of max long ms by default). These have a high probability of triggering unnecessary full collections that often create some havoc in the runtime. The assumption in this case is that the application is quiet but as we can see in this email, and as I’ve witnessed in many other applications, runtimes rarely quiet and the machine can decide to do something at the most inappropriate time.</div></div></blockquote><div>As we discuss this is optional, so when somebody is not sure it's a right thing to do simply ignore the existence of this option, like many others. </div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div><div>Additionally, there is a suspicion here, especially after discussions that included Gil (Tene) that the benchmark used to “validate” this proposed implementation may have issues.. It would be useful if that benchmark could be released so that we can actually examine it to determine what, if any, issues may exist. I’m very happy to help vet this benchmark.</div></div></blockquote><div>Your help with additional review of the <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">benchmarking process will be useful and highly appreciated. Rodrigo will share specifics. </span></div><div> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div><div>In an era when the GC engineers are working so very hard to make as much of the collection process as concurrent as possible, it just feels very wrong to rely on a huge STW event to get something done. In that spirit, it behoves us to explore how committed memory maybe released at the tail end of a normally triggered GC cycle. I beleive at the end of a mixed cycle was mentioned. I believe this would give those that want/need to minimize their JVM’s footprint an even greater cost advantage then attempting to reduce the footprint at some (un???)random point in time.</div></div></blockquote><div>How hard/expensive is to implement in G1 something similar like Shenandoah does? </div><div><br></div><div>Thanks </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><br></div><div>Kind regards,</div><div>Kirk</div><div><br></div><div><div><blockquote type="cite"><span class=""><div>On Jun 1, 2018, at 7:41 AM, Sunny Chan, CLSA <<a href="mailto:sunny.chan@clsa.com" target="_blank">sunny.chan@clsa.com</a>> wrote:</div><br class="m_4631306826166716015Apple-interchange-newline"></span><div><div class="m_4631306826166716015WordSection1" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span class=""><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(0,0,102)">(resending for hotspot-gc-dev)<u></u><u></u></span></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(0,0,102)"><u></u> <u></u></span></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(0,0,102)">Hello,<u></u><u></u></span></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(0,0,102)"><u></u> <u></u></span></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(0,0,102)">I have a number of question about the proposed changes for the JEP and I would like to make the following suggestions and comments<u></u><u></u></span></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(0,0,102)"><u></u> <u></u></span></div><div style="margin:0in 0in 0.0001pt 0.5in;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(0,0,102)"><span>1)<span style="font-style:normal;font-variant-caps:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:'Times New Roman'"> <span class="m_4631306826166716015Apple-converted-space"> </span></span></span></span><span style="color:rgb(0,0,102)">Are we planning to make this change the default behavior for G1? Or this is an optional switch for people who runs in a container environment?<u></u><u></u></span></div><div style="margin:0in 0in 0.0001pt 0.5in;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(0,0,102)"><span>2)<span style="font-style:normal;font-variant-caps:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:'Times New Roman'"> <span class="m_4631306826166716015Apple-converted-space"> </span></span></span></span><span style="color:rgb(0,0,102)">In a trading systems, sometimes there are period of quiescence and then suddenly a burst of activity towards market close or market event. The loadavg you suggest to “monitor” the activity in the system only reports up to 14mins and it might not necessary a good measure for this type of applications, especially you would trigger a Full GC<u></u><u></u></span></div><div style="margin:0in 0in 0.0001pt 0.5in;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(0,0,102)"><span>3)<span style="font-style:normal;font-variant-caps:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:'Times New Roman'"> <span class="m_4631306826166716015Apple-converted-space"> </span></span></span></span><span style="color:rgb(0,0,102)">You haven’t fill in the details for “The GCFrequency value is ignored and therefore, i.e., no full collection is triggered, if:”<u></u><u></u></span></div><div style="margin:0in 0in 0.0001pt 0.5in;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(0,0,102)"><span>4)<span style="font-style:normal;font-variant-caps:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:'Times New Roman'"> <span class="m_4631306826166716015Apple-converted-space"> </span></span></span></span><span style="color:rgb(0,0,102)">If we are trigging full GC with this we should make sure the GC reason is populated and log properly in the GC log so we can track it down.<u></u><u></u></span></div><div style="margin:0in 0in 0.0001pt 0.5in;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(0,0,102)"><span>5)<span style="font-style:normal;font-variant-caps:normal;font-weight:normal;font-size:7pt;line-height:normal;font-family:'Times New Roman'"> <span class="m_4631306826166716015Apple-converted-space"> </span></span></span></span><span style="color:rgb(0,0,102)">I have not heard of J9 Gencon/Shenandoah providing similar functionality. Can you point me to further documentation on which feature you model upon?<u></u><u></u></span></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(0,0,102)"><u></u> <u></u></span></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(0,0,102)">Thanks.<u></u><u></u></span></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><span style="color:rgb(0,0,102)"><u></u> <u></u></span></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;line-height:16.133333206176758px"><b><span style="font-size:9pt;line-height:13.199999809265137px;color:rgb(0,0,102)">Sunny Chan<u></u><u></u></span></b></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;line-height:16.133333206176758px"><b><span style="font-size:9pt;line-height:13.199999809265137px;color:rgb(0,0,102)">Senior Lead Engineer, Executive Services<u></u><u></u></span></b></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;line-height:16.133333206176758px"><span style="font-size:9pt;line-height:13.199999809265137px;color:rgb(0,0,102)">D +852 2600 8907 | M +852 6386 1835 | T +852 2600 8888<u></u><u></u></span></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;line-height:16.133333206176758px"><span style="font-size:9pt;line-height:13.199999809265137px;color:rgb(0,0,102)">5/F, One Island East, <a href="https://maps.google.com/?q=18+Westlands+Road&entry=gmail&source=g">18 Westlands Road</a>, Island East, Hong Kong<u></u><u></u></span></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;line-height:16.133333206176758px"><span style="font-size:9pt;line-height:13.199999809265137px;color:rgb(0,0,102)"><u></u> <u></u></span></div></span><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><a href="https://hk.linkedin.com/company/clsa" style="color:rgb(149,79,114);text-decoration:underline" target="_blank"><span style="font-size:9pt;color:rgb(0,0,102);letter-spacing:0.5pt;text-decoration:none"><span id="m_4631306826166716015cid:image002.png@01D3F9A5.2BABDD40"><image002.png></span></span></a><a href="https://twitter.com/clsainsights?lang=en" style="color:rgb(149,79,114);text-decoration:underline" target="_blank"><span style="font-size:9pt;color:rgb(0,0,102);letter-spacing:0.5pt;text-decoration:none"><span id="m_4631306826166716015cid:image004.png@01D3F9A5.2BABDD40"><image004.png></span></span></a><a href="https://www.youtube.com/channel/UC0qWp_lLnOcRYmBlCNQgZKA" style="color:rgb(149,79,114);text-decoration:underline" target="_blank"><span style="font-size:9pt;color:rgb(0,0,102);letter-spacing:0.5pt;text-decoration:none"><span id="m_4631306826166716015cid:image006.png@01D3F9A5.2BABDD40"><<wbr>image006.png></span></span></a><a href="https://www.facebook.com/clsacommunity/" style="color:rgb(149,79,114);text-decoration:underline" target="_blank"><span style="font-size:9pt;color:rgb(0,0,102);letter-spacing:0.5pt;text-decoration:none"><span id="m_4631306826166716015cid:image008.png@01D3F9A5.2BABDD40"><image008.png></span></span></a><span style="font-size:9pt;color:rgb(0,0,102);letter-spacing:0.5pt"><u></u><u></u></span></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;line-height:16.133333206176758px"><span style="font-size:9pt;line-height:13.199999809265137px;color:rgb(0,0,102)"><u></u> <u></u></span></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;line-height:16.133333206176758px"><span style="font-size:12pt;line-height:17.600000381469727px;color:rgb(0,0,102)"><a href="https://www.clsa.com/" style="color:rgb(149,79,114);text-decoration:underline" target="_blank"><b><span style="font-size:9pt;line-height:13.199999809265137px;color:rgb(0,0,102);text-decoration:none">clsa.com</span></b></a></span><b><span style="font-size:9pt;line-height:13.199999809265137px;color:rgb(0,0,102)"><u></u><u></u></span></b></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;line-height:16.133333206176758px"><b><span style="font-size:9pt;line-height:13.199999809265137px;color:rgb(0,0,102)">Insights. Liquidity. Capital.<u></u><u></u></span></b></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;line-height:16.133333206176758px"><b><span style="font-size:8pt;line-height:11.733333587646484px;color:rgb(0,0,102)"><u></u> <u></u></span></b></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;line-height:16.133333206176758px"><a href="https://www.clsa.com/member" style="color:rgb(149,79,114);text-decoration:underline" target="_blank"><span style="font-size:12pt;line-height:17.600000381469727px;color:rgb(0,0,102);text-decoration:none"><span id="m_4631306826166716015cid:image010.png@01D3F9A5.2BABDD40"><image010.png></span></span></a><b><span style="font-size:8pt;line-height:11.733333587646484px;color:rgb(0,0,102)"><u></u><u></u></span></b></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif;line-height:16.133333206176758px"><b><span style="font-size:8pt;line-height:11.733333587646484px;color:rgb(0,0,102)"><u></u> <u></u></span></b></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><b><span style="font-size:9pt;color:rgb(0,0,102)">A CITIC Securities Company</span></b><span style="font-size:12pt;color:rgb(0,0,102)"><u></u><u></u></span></div><div style="margin:0in 0in 0.0001pt;font-size:11pt;font-family:Calibri,sans-serif"><u></u> <u></u></div></div><span class=""><p style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-size:8pt;font-family:Verdana,sans-serif"><span style="font-size:8pt;font-family:Calibri,sans-serif;color:rgb(0,0,102)">The content of this communication is intended for the recipient and is subject to CLSA Legal and Regulatory Notices.<br><span style="font-size:8pt;font-family:Calibri,sans-serif;color:rgb(0,0,102)">These can be viewed at<span class="m_4631306826166716015Apple-converted-space"> </span></span><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,102)"><a href="https://www.clsa.com/disclaimer.html" style="color:rgb(149,79,114);text-decoration:underline" target="_blank"><span style="font-size:8pt;color:rgb(0,0,102)">https://www.clsa.com/<wbr>disclaimer.html</span></a></span><span style="font-size:8pt;font-family:Calibri,sans-serif;color:rgb(0,0,102)"><span class="m_4631306826166716015Apple-converted-space"> </span>or sent to you upon request.</span></span><br></span><span><span style="font-size:8pt;font-family:Calibri,sans-serif;color:rgb(0,163,81)">Please consider before printing. CLSA is ISO14001 certified and committed to reducing its impact on the environment.</span></span></p></span></div></blockquote></div><br></div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="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>