• 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

Probably good to link this to our GC panel ideas

Kalai Kannaiyan 2009-12-07

Verified with Terracotta 3.2.0-nightly, as of 20091207-081213 (Revision 14149 by [email protected] from 3.2), we can trun on the verbose gc during runtime.

Steps:

  1. Install the 3.2-nighlty.
  2. start the TC server
  3. Launch the dev console and connect to the server
  4. In the dev console, Select Server Array ipaddress:port Logging Settings in the right pane
  5. 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]