<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Looks like a good patch to me.<div class=""><br class=""></div><div class="">/Staffan</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 14 maj 2015, at 18:12, Srinivas Ramakrishna <<a href="mailto:ysr1729@gmail.com" class="">ysr1729@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><a href="https://bugs.openjdk.java.net/browse/JDK-8080345" target="_blank" style="font-size:13px" class="">https://bugs.openjdk.java.net/browse/JDK-8080345</a><br class=""><div class=""><br class=""></div><div class=""><br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, May 13, 2015 at 1:08 PM, Srinivas Ramakrishna <span dir="ltr" class=""><<a href="mailto:ysr1729@gmail.com" target="_blank" class="">ysr1729@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" class=""><br class=""><div class="">With perm gen going away (and being replaced by metaspace) in JDK 8, it makes sense that the counter</div><div class="">sun.gc.policy.generations should be "2", rather than "3". However, in JDK 8 that counter still says 3.</div><div class="">As I understand, the intention was that this counter would allow you to (for example) know the range of</div><div class="">the sun.gc.generation.$num.* counters describing each of $num < sun.gc.policy.generations in the heap.</div><div class="">Recall that the erstwhile perm gen in JDK 7 used to be synonymous with sun.gc.generation.2, but the</div><div class="">JDK 8 avatars are now sun.gc.metaspace and sun.gc.compressedclassspace.</div><div class=""><br class=""></div><div class="">The fix is simple, and I can submit a patch. Is there an existing bug for this?</div><div class=""><br class=""></div><div class="">thanks!</div><div class="">-- ramki</div>
</div>
</blockquote></div><br class=""></div></div>
</div></blockquote></div><br class=""></div></body></html>