src/hotspot/share/gc/shenandoah/shenandoahEvacOOMHandler.cpp
changeset 59268 611f6bfe7c30
parent 59252 623722a6aeb9
child 59290 97d13893ec3c
--- a/src/hotspot/share/gc/shenandoah/shenandoahEvacOOMHandler.cpp	Tue Nov 26 11:57:58 2019 +0100
+++ b/src/hotspot/share/gc/shenandoah/shenandoahEvacOOMHandler.cpp	Tue Nov 26 13:50:26 2019 +0100
@@ -113,7 +113,7 @@
 void ShenandoahEvacOOMHandler::clear() {
   assert(ShenandoahSafepoint::is_at_shenandoah_safepoint(), "must be at a safepoint");
   assert((Atomic::load_acquire(&_threads_in_evac) & ~OOM_MARKER_MASK) == 0, "sanity");
-  Atomic::release_store_fence<jint>(&_threads_in_evac, 0);
+  Atomic::release_store_fence(&_threads_in_evac, (jint)0);
 }
 
 ShenandoahEvacOOMScope::ShenandoahEvacOOMScope() {