Skip to content

Instantly share code, notes, and snippets.

@brikis98
Created June 14, 2011 03:08
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brikis98/1024230 to your computer and use it in GitHub Desktop.
Save brikis98/1024230 to your computer and use it in GitHub Desktop.
Java GC log explanation (Young Generation collections)
{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]
@brikis98
Copy link
Author

brikis98 commented Aug 9, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment