8158756: [Testbug] serviceability/dcmd/compiler/CompilerQueueTest.java fails with TieredStopAtLevel=1
Reviewed-by: thartmann
--- a/hotspot/test/serviceability/dcmd/compiler/CompilerQueueTest.java Wed Jul 20 19:29:10 2016 +0300
+++ b/hotspot/test/serviceability/dcmd/compiler/CompilerQueueTest.java Wed Jul 20 19:31:34 2016 +0300
@@ -30,9 +30,6 @@
* java.management
* jdk.jvmstat/sun.jvmstat.monitor
* @summary Test of diagnostic command Compiler.queue
- * Fails intermittently on 32-bit VMs due to 8158756 so quarantine
- * it on those platforms:
- * @requires vm.bits != "32"
* @build jdk.test.lib.*
* jdk.test.lib.dcmd.*
* sun.hotspot.WhiteBox
@@ -110,7 +107,7 @@
boolean added = WB.enqueueMethodForCompilation(testcase.method, testcase.level);
// Set results to false for those methods we must to find
// We will also assert if we find any test method we don't expect
- Assert.assertTrue(WB.isMethodQueuedForCompilation(testcase.method));
+ Assert.assertEquals(added, WB.isMethodQueuedForCompilation(testcase.method));
testcase.check = false;
}