diff -r 4444591b3ac0 -r 611f6bfe7c30 src/hotspot/share/gc/shenandoah/shenandoahEvacOOMHandler.cpp --- 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(&_threads_in_evac, 0); + Atomic::release_store_fence(&_threads_in_evac, (jint)0); } ShenandoahEvacOOMScope::ShenandoahEvacOOMScope() {