Alex Rivera | Logout

What do -XX:-PrintGC and XX:-PrintGCDetails flags do?

Asked 2009-11-29T12:29:05.373
16

I found the JVM flags here. Is there a more detailed explaination of what exactly they do?

Edit
Report

1 Answer

9

Setting this flags writes all the garbage collections made by the JVM to a log file (or stdout, but then it is less useful), and these can be analysed by tools such as the ones mentioned here. Using this information you can fine tune your garbage collection configuration.

answered 2009-11-29T12:41:43.647

Your Answer