changeset 11725:83d9c6250233

8158756: [Testbug] serviceability/dcmd/compiler/CompilerQueueTest.java fails with TieredStopAtLevel=1 Reviewed-by: thartmann
author dpochepk
date Wed, 20 Jul 2016 19:31:34 +0300
parents 064ff563daee
children d001a6099482
files test/serviceability/dcmd/compiler/CompilerQueueTest.java
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/test/serviceability/dcmd/compiler/CompilerQueueTest.java	Wed Jul 20 19:29:10 2016 +0300
+++ b/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;
         }