src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/VM.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File
*** old/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/VM.java Thu Nov 3 14:16:09 2016
--- new/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/VM.java Thu Nov 3 14:16:09 2016
*** 859,868 ****
--- 859,874 ----
public boolean getUseTLAB() {
Flag flag = getCommandLineFlag("UseTLAB");
return (flag == null) ? false: flag.getBool();
}
+ public boolean getCommandLineBooleanFlag(String name) {
+ Flag flag = getCommandLineFlag(name);
+ return (flag == null) ? Boolean.FALSE:
+ (flag.getBool()? Boolean.TRUE: Boolean.FALSE);
+ }
+
// returns null, if not available.
public Flag[] getCommandLineFlags() {
if (commandLineFlags == null) {
readCommandLineFlags();
}
src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/runtime/VM.java
Index
Unified diffs
Context diffs
Sdiffs
Wdiffs
Patch
New
Old
Previous File
Next File