CDV ❯ Console should have way to turn on -verbose:gc remotely
-
New Feature
-
Status: Closed
-
2 Major
-
Resolution: Fixed
-
Admin Console
-
-
kkannaiy
-
Reporter: amiller
-
August 26, 2009
-
0
-
Watchers: 1
-
February 12, 2013
-
October 15, 2009
Description
I think you can actually use MemoryMXBean.setVerbose() to turn on verbose gc at runtime - would be a nice feature for tuning.
Comments
Steve Harris 2009-08-28
Kalai Kannaiyan 2009-12-07
Verified with Terracotta 3.2.0-nightly, as of 20091207-081213 (Revision 14149 by cruise@su10mo4 from 3.2), we can trun on the verbose gc during runtime.
Steps:
- Install the 3.2-nighlty.
- start the TC server
- Launch the dev console and connect to the server
-
In the dev console, Select Server Array ipaddress:port Logging Settings in the right pane - check the Verbose GC under Java GC and click the Request GC
Actual: GC info is printed in the command window (as expected)
[GC 31546K->10874K(517056K), 0.0485429 secs] [Full GC 10874K->10862K(517056K), -0.6350318 secs]
Probably good to link this to our GC panel ideas