test/compiler/compilercontrol/jcmd/StressAddJcmdBase.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/test/compiler/compilercontrol/jcmd/StressAddJcmdBase.java Mon Feb 22 14:10:04 2016
--- new/test/compiler/compilercontrol/jcmd/StressAddJcmdBase.java Mon Feb 22 14:10:04 2016
*** 35,50 ****
--- 35,50 ----
import java.util.List;
import java.util.stream.Collectors;
import java.util.stream.Stream;
public abstract class StressAddJcmdBase {
! private static final int DIRECTIVES_AMOUNT = Integer.getInteger(
! protected static int DIRECTIVES_AMOUNT = Integer.getInteger(
"compiler.compilercontrol.jcmd.StressAddJcmdBase.directivesAmount",
- 1000);
private static final int DIRECTIVE_FILES = Integer.getInteger(
"compiler.compilercontrol.jcmd.StressAddJcmdBase.directiveFiles",
! 5);
! 4);
private static final List<MethodDescriptor> DESCRIPTORS = new PoolHelper()
.getAllMethods().stream()
.map(pair -> AbstractTestBase
.getValidMethodDescriptor(pair.first))
.collect(Collectors.toList());
*** 94,109 ****
--- 94,105 ----
this.jcmdCommands = jcmdCommands;
}
@Override
protected OutputAnalyzer[] executeJCMD(int pid) {
TimeLimitedRunner runner = new TimeLimitedRunner(
Utils.DEFAULT_TEST_TIMEOUT,
Utils.TIMEOUT_FACTOR,
() -> makeConnection(pid, jcmdCommands));
try {
! runner.call();
! makeConnection(pid, jcmdCommands);
} catch (Exception e) {
throw new Error("Exception during the execution: " + e, e);
}
finish();
return new OutputAnalyzer[0];
test/compiler/compilercontrol/jcmd/StressAddJcmdBase.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File