--- a/src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp Fri Jan 18 17:34:31 2019 -0800
+++ b/src/hotspot/share/gc/shenandoah/shenandoahHeap.hpp Fri Jan 18 17:34:36 2019 -0800
@@ -163,9 +163,9 @@
return &_lock;
}
- void assert_heaplock_owned_by_current_thread() PRODUCT_RETURN;
- void assert_heaplock_not_owned_by_current_thread() PRODUCT_RETURN;
- void assert_heaplock_or_safepoint() PRODUCT_RETURN;
+ void assert_heaplock_owned_by_current_thread() NOT_DEBUG_RETURN;
+ void assert_heaplock_not_owned_by_current_thread() NOT_DEBUG_RETURN;
+ void assert_heaplock_or_safepoint() NOT_DEBUG_RETURN;
// ---------- Initialization, termination, identification, printing routines
//
@@ -231,7 +231,7 @@
public:
uint max_workers();
- void assert_gc_workers(uint nworker) PRODUCT_RETURN;
+ void assert_gc_workers(uint nworker) NOT_DEBUG_RETURN;
WorkGang* workers() const;
WorkGang* get_safepoint_workers();