Created
June 14, 2011 03:08
-
-
Save brikis98/1024230 to your computer and use it in GitHub Desktop.
Java GC log explanation (Young Generation collections)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{Time since VM started, in seconds}: [GC {Time since VM started}: [{GC type} | |
Desired survivor size {size of one survivor space} bytes, new threshold {y} (max {x}) <- how many collections objects can stay in the young gen. More on this later | |
- age 1: {a} bytes, {a} total <- How many objects have survived one collection. Next collection, any surviving objects will appear in age 2 | |
- age 2: {b} bytes, {a+b} total | |
: {pre-collection young gen[5] usage}K->{post-collection young gen usage}K({Total young gen size}K), {young gen time} secs] | |
{pre-collection heap size}K->{post-collection heap size}K({total heap size}K), {total collection time} secs] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See Tuning Java Garbage Collection for Web Services for more information.