JDK-6402766 : jinfo: add -flag option to print or set (a select subset of) JVM flags dynamically
  • Type: Enhancement
  • Component: core-svc
  • Sub-Component: tools
  • Affected Version: 6
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2006-03-23
  • Updated: 2017-05-16
  • Resolved: 2006-04-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b81Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
jinfo tool prints Java System properties and JVM command line flags for a live process or for a core dump. Please add -flag option to view and turn on/off a JVM flag dynamically. This is applicable only for live processes and only for a select subset of "manageable" flags. Not all JVM command line flags can be safely set dynamically. So, allow only a few flags such as PrinGC, PrintGCDetails, TraceClassLoading (or verbose:class) etc. to be turned on/off dynamically.

Comments
SUGGESTED FIX Webrev: http://bongo.india.sun.com/debugging/dtrace/6402766/webrev/ Also, refer to the attachment "webrev.tar"
10-04-2006

EVALUATION jinfo -flag option allows to turn on (few) hotspot -XX flags dynamically. These are the same flags that can be turned on/off dynamically using monitoring & management API.
05-04-2006