[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-serviceability-dev
Subject:    Re: PerfData counter: sun.gc.policy.generations in JDK 8
From:       Staffan Larsen <staffan.larsen () oracle ! com>
Date:       2015-05-18 8:22:38
Message-ID: E5255F24-EDB1-4BBB-9DB3-99F942D0E522 () oracle ! com
[Download RAW message or body]

Looks like a good patch to me.

/Staffan

> On 14 maj 2015, at 18:12, Srinivas Ramakrishna <ysr1729@gmail.com> wrote:
> 
> https://bugs.openjdk.java.net/browse/JDK-8080345 \
> <https://bugs.openjdk.java.net/browse/JDK-8080345> 
> 
> 
> On Wed, May 13, 2015 at 1:08 PM, Srinivas Ramakrishna <ysr1729@gmail.com \
> <mailto:ysr1729@gmail.com>> wrote: 
> With perm gen going away (and being replaced by metaspace) in JDK 8, it makes sense \
> that the counter sun.gc.policy.generations should be "2", rather than "3". However, \
> in JDK 8 that counter still says 3. As I understand, the intention was that this \
> counter would allow you to (for example) know the range of the \
> sun.gc.generation.$num.* counters describing each of $num < \
> sun.gc.policy.generations in the heap. Recall that the erstwhile perm gen in JDK 7 \
> used to be synonymous with sun.gc.generation.2, but the JDK 8 avatars are now \
> sun.gc.metaspace and sun.gc.compressedclassspace. 
> The fix is simple, and I can submit a patch. Is there an existing bug for this?
> 
> thanks!
> -- ramki
> 


[Attachment #3 (unknown)]

<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 &lt;<a href="mailto:ysr1729@gmail.com" \
class="">ysr1729@gmail.com</a>&gt; 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="">&lt;<a \
href="mailto:ysr1729@gmail.com" target="_blank" \
class="">ysr1729@gmail.com</a>&gt;</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 \
&lt; 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>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic