Questions regarding GC
Tao Mao
yiyeguhu at gmail.com
Sat Feb 20 04:52:08 UTC 2016
Hi Jun,
1. Search for PLAB
2. The following are pretty much all printing-GC-related flags we have:
PrintGC
PrintGCDetails
PrintGCTimeStamps
PrintGCDateStamps
PrintTenuringDistribution
PrintGCTaskTimeStamps
PrintApplicationConcurrentTime
PrintApplicationStoppedTime
You might want to try the last three options. Plus, "-XX:+UseG1GC
+XX:+PrintGCDetails" has more verbose gc logs than other collectors'.
Thanks.
Tao Mao
On Fri, Feb 19, 2016 at 8:15 PM, Jun Zhuang <jun.zhuang at hobsons.com> wrote:
> Hi,
>
>
>
> I tried to find answers to a couple of questions I have regarding GC but
> found nothing on the Internet, I wonder if the experts here can help me out?
>
>
>
> · How are objects stored in the old generation when promoted from
> the young gen or survivor space? Does the JVM use something similar to the
> TLAB?
>
> · The time for a young GC pause consists stack scan, card scan
> and copying, are there command line options for me to get a time breakdown
> for those times in the GC log?
>
>
>
> Thanks,
>
> Jun
>
>
>
> *Jun Zhuang*
>
> *Sr. Performance QA Engineer* | Hobsons
> <https://www.hobsons.com/?utm_source=outlook&utm_medium=email&utm_campaign=banner_02.12.16_general>
>
> T: +1 513 746 2288 | jun.zhuang at hobsons.com
>
> 50 E-Business Way, Suite 300 | Cincinnati, OH 45241 | USA
>
>
>
>
>
> [image: Hobsons]
> This message contains confidential information and is intended only for
> the intended recipients. If you are not an intended recipient you should
> not disseminate, distribute or copy this e-mail. Please notify the sender
> immediately by e-mail if you have received this e-mail by mistake and
> delete this e-mail from your system. E-mail transmission cannot be
> guaranteed to be secure or error-free as information could be intercepted,
> corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
> The sender therefore does not accept liability for any errors or omissions
> in the contents of this message, which arise as a result of e-mail
> transmission. If verification is required please request a hard-copy
> version.
>
> _______________________________________________
> hotspot-gc-use mailing list
> hotspot-gc-use at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/hotspot-gc-use
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20160219/b6840f41/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image370ea1.gif at 780cb1d1.gif
Type: image/png
Size: 1672 bytes
Desc: not available
URL: <http://mail.openjdk.java.net/pipermail/hotspot-gc-use/attachments/20160219/b6840f41/image370ea1.gif780cb1d1.gif>
More information about the hotspot-gc-use
mailing list