8158756: [Testbug] serviceability/dcmd/compiler/CompilerQueueTest.java fails with TieredStopAtLevel=1
authordpochepk
Wed, 20 Jul 2016 19:31:34 +0300
changeset 40077 49e1e5dacc25
parent 40076 1e283716fd17
child 40078 77b7fa0cf03c
8158756: [Testbug] serviceability/dcmd/compiler/CompilerQueueTest.java fails with TieredStopAtLevel=1 Reviewed-by: thartmann
hotspot/test/serviceability/dcmd/compiler/CompilerQueueTest.java
--- 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;
         }