From e88fb40061e474e003b9ea5d06eb14c314215426 Mon Sep 17 00:00:00 2001 From: jiefu Date: Sat, 3 Aug 2019 09:04:04 +0800 Subject: [PATCH] 8229020: Failure on CPUs allowing loads reordering: assert(_tasks[t] == 1) failed: What else? Reviewed-by: tschatzl, kbarrett --- src/share/vm/utilities/workgroup.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/share/vm/utilities/workgroup.cpp b/src/share/vm/utilities/workgroup.cpp index 3d1f1eef7..08b97aa77 100644 --- a/src/share/vm/utilities/workgroup.cpp +++ b/src/share/vm/utilities/workgroup.cpp @@ -464,7 +464,6 @@ bool SubTasksDone::is_task_claimed(uint t) { if (old == 0) { old = Atomic::cmpxchg(1, &_tasks[t], 0); } - assert(_tasks[t] == 1, "What else?"); bool res = old != 0; #ifdef ASSERT if (!res) { -- GitLab