Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback, please email oracle-forums_moderators_us@oracle.com

stack traces for GC-related activity

sam.bishopDec 27 2017 — edited Jan 4 2018

What I am trying to do is figure out which part of my code is causing G1 GC pauses due to humongous allocations.  I would expect to find stack traces that were recorded when the pauses happened, but I don't see any stack traces related to GC activity.  (Even though there is a "Stack Trace" panel on the "Garbage Collections" and "VM Operations" tabs.)  Is that information available somewhere?

I am using JMC version 6.0.0 (M6.0.0-666, 173472).  The JVM version used to record the JFR files is "Java HotSpot(TM) 64-Bit Server VM (25.144-b01) for windows-amd64 JRE (1.8.0_144-b01), built on Jul 21 2017 21:57:33 by 'java_re' with MS VC++ 10.0 (VS2010)".  When I start a JFR session, I set the "Garbage Collector" setting to "All" on the Event Options page.  Let me know if there is any other information I can provide.

This post has been answered by Greijus-Oracle on Jan 2 2018
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 30 2018
Added on Dec 27 2017
1 comment
299 views