United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6898160 Need serviceability support for new vm argument type 'uint64_t'
JDK-6898160 : Need serviceability support for new vm argument type 'uint64_t'

Details
Type:
Bug
Submit Date:
2009-11-04
Status:
Closed
Updated Date:
2011-03-07
Project Name:
JDK
Resolved Date:
2011-03-07
Component:
hotspot
OS:
generic
Sub-Component:
runtime
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
hs17
Fixed Versions:
hs17 (b06)

Related Reports
Backport:
Backport:
Backport:
Backport:
Relates:
Relates:

Sub Tasks

Description
A new vm argument type, 'uint64_t', was added as part of 6887571.  The jdk library
code in jdk/share/native/sun/management/Flag.c that fetches all the vm product flags
throws an exception if it doesn't understand the type of an argument.  The change
for 6887571 didn't include full serviceability support for uint64_t.
This bug affects the following SDK/JDK test in the MM_REGRESSION
test suite:

    com/sun/management/HotSpotDiagnosticMXBean/GetDiagnosticOptions.java

                                    

Comments
SUGGESTED FIX

Add serviceability support for uint64_t.
                                     
2009-11-04
EVALUATION

A new vm argument type, 'uint64_t', was added as part of the fix for 6887571, but
full serviceability support wasn't done in the vm.  The jdk library code in
jdk/src/share/native/sun/management/Flag.c throws an exception if it doesn't
understand the type of a vm argument, hence the problem.

*** (#1 of 1): [ UNSAVED ] ###@###.###
                                     
2009-11-04
SUGGESTED FIX

If a flag has a type unknown to the jdk library, then assert in debug builds and ignore it in product builds.
                                     
2009-11-04
EVALUATION

http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/ba7ea42fc66e
                                     
2009-11-05
EVALUATION

http://hg.openjdk.java.net/hsx/hsx16/baseline/rev/26d0c7276c9e
                                     
2009-11-07
EVALUATION

http://hg.openjdk.java.net/hsx/hsx16/master/rev/26d0c7276c9e
                                     
2009-11-13



Hardware and Software, Engineered to Work Together