test/compiler/whitebox/CompilerWhiteBoxTest.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/test/compiler/whitebox/CompilerWhiteBoxTest.java Thu Aug 8 03:48:15 2013
--- new/test/compiler/whitebox/CompilerWhiteBoxTest.java Thu Aug 8 03:48:15 2013
*** 59,68 ****
--- 59,71 ----
protected static final boolean TIERED_COMPILATION
= Boolean.valueOf(getVMOption("TieredCompilation", "false"));
/** Value of {@code -XX:TieredStopAtLevel} */
protected static final int TIERED_STOP_AT_LEVEL
= Integer.parseInt(getVMOption("TieredStopAtLevel", "0"));
+ /** Flag for verbose output, true if {@code -Dverbose} specified */
+ protected static final boolean IS_VERBOSE
+ = System.getProperty("verbose") != null;
/**
* Returns value of VM option.
*
* @param name option's name
*** 266,276 ****
--- 269,281 ----
} catch (Exception e) {
tmp = null;
}
result += tmp == null ? 0 : tmp;
}
+ if (IS_VERBOSE) {
System.out.println("method was invoked " + count + " times");
+ }
return result;
}
}
/**
test/compiler/whitebox/CompilerWhiteBoxTest.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File