--- old/src/hotspot/share/gc/shared/taskTerminator.hpp 2020-05-04 22:55:29.175443989 -0400 +++ new/src/hotspot/share/gc/shared/taskTerminator.hpp 2020-05-04 22:55:28.651426590 -0400 @@ -57,9 +57,8 @@ volatile uint _offered_termination; DEFINE_PAD_MINUS_SIZE(1, DEFAULT_CACHE_LINE_SIZE, sizeof(volatile uint)); -#ifdef ASSERT - bool peek_in_queue_set(); -#endif + void assert_queue_set_empty() const NOT_DEBUG_RETURN; + void yield(); Monitor* _blocker;