changeset 9237:14b0d7d60628

8229020: Failure on CPUs allowing loads reordering: assert(_tasks[t] == 1) failed: What else? Reviewed-by: tschatzl, kbarrett
author jiefu
date Sat, 03 Aug 2019 09:04:04 +0800
parents c2fa0ac49d01
children 775e2bf92114
files src/share/vm/utilities/workgroup.cpp
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/utilities/workgroup.cpp	Tue Aug 20 07:47:13 2019 +0200
+++ b/src/share/vm/utilities/workgroup.cpp	Sat Aug 03 09:04:04 2019 +0800
@@ -464,7 +464,6 @@
   if (old == 0) {
     old = Atomic::cmpxchg(1, &_tasks[t], 0);
   }
-  assert(_tasks[t] == 1, "What else?");
   bool res = old != 0;
 #ifdef ASSERT
   if (!res) {