--- old/test/compiler/compilercontrol/jcmd/StressAddMultiThreadedTest.java 2016-02-22 14:10:04.797139378 +0100 +++ new/test/compiler/compilercontrol/jcmd/StressAddMultiThreadedTest.java 2016-02-22 14:10:04.665139372 +0100 @@ -27,14 +27,13 @@ * @summary Tests jcmd to be able to add a lot of huge directive files with * parallel executed jcmds until timeout has reached * @library /testlibrary /test/lib /compiler/testlibrary ../share / - * @ignore 8148563 * @build compiler.compilercontrol.jcmd.StressAddMultiThreadedTest * pool.sub.* pool.subpack.* sun.hotspot.WhiteBox * compiler.testlibrary.CompilerUtils * compiler.compilercontrol.share.actions.* * @run main ClassFileInstaller sun.hotspot.WhiteBox * sun.hotspot.WhiteBox$WhiteBoxPermission - * @run main/othervm/timeout=360 compiler.compilercontrol.jcmd.StressAddMultiThreadedTest + * @run main/othervm -Xmixed -XX:CompilerDirectivesLimit=1601 compiler.compilercontrol.jcmd.StressAddMultiThreadedTest */ package compiler.compilercontrol.jcmd; @@ -49,14 +48,18 @@ import java.util.concurrent.TimeUnit; public class StressAddMultiThreadedTest extends StressAddJcmdBase { + private static final int THREADS; private final BlockingQueue queue; private final ExecutorService executor; static { - THREADS = Runtime.getRuntime().availableProcessors() - * Integer.getInteger("compiler.compilercontrol.jcmd" + - ".StressAddMultiThreadedTest.threadFactor", 10); + THREADS = Integer.getInteger("compiler.compilercontrol.jcmd" + + ".StressAddMultiThreadedTest.threadFactor", + 4); + DIRECTIVES_AMOUNT = Integer.getInteger( + "compiler.compilercontrol.jcmd.StressAddJcmdBase.directivesAmount", + 100); } public StressAddMultiThreadedTest() {