8234798: Build failure after atomic changes in JDK-8234563
Reviewed-by: tschatzl, rkennke, zgu
--- 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() {