The gc tag

We can use the gc tag with the -Xlog option to inform the JVM to only log gc tagged items at the info level. As you will recall, this is similar to using -XX:+PrintGC. With both options, the JVM will log one line for each garbage collection operation.

It is important to note that the gc tag was not intended to be used on its own; rather, it is recommended that it be used in conjunction with other tags.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset