agent/src/share/classes/sun/jvm/hotspot/CommandProcessor.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
8024760 Cdiff agent/src/share/classes/sun/jvm/hotspot/CommandProcessor.java
agent/src/share/classes/sun/jvm/hotspot/CommandProcessor.java
Print this page
*** 1211,1220 ****
--- 1211,1221 ----
usage();
return;
}
HotSpotTypeDataBase db = (HotSpotTypeDataBase)agent.getTypeDataBase();
if (t.countTokens() == 1) {
+ String name = t.nextToken();
out.println("intConstant " + name + " " + db.lookupIntConstant(name));
} else if (t.countTokens() == 0) {
Iterator i = db.getIntConstants();
while (i.hasNext()) {
String name = (String)i.next();
*** 1233,1242 ****
--- 1234,1244 ----
usage();
return;
}
HotSpotTypeDataBase db = (HotSpotTypeDataBase)agent.getTypeDataBase();
if (t.countTokens() == 1) {
+ String name = t.nextToken();
out.println("longConstant " + name + " " + db.lookupLongConstant(name));
} else if (t.countTokens() == 0) {
Iterator i = db.getLongConstants();
while (i.hasNext()) {
String name = (String)i.next();
agent/src/share/classes/sun/jvm/hotspot/CommandProcessor.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File