changeset 11902:049078100b90

Shenandoah: Zero build fails after recent Atomic cleanup in Pacer Reviewed-by: rkennke
author shade
date Wed, 29 Jul 2020 10:09:38 +0200
parents 144156910d02
children 01ce0b6fb7e3
files src/os_cpu/linux_zero/vm/atomic_linux_zero.inline.hpp
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/os_cpu/linux_zero/vm/atomic_linux_zero.inline.hpp	Tue Jul 28 09:28:15 2020 +0200
+++ b/src/os_cpu/linux_zero/vm/atomic_linux_zero.inline.hpp	Wed Jul 29 10:09:38 2020 +0200
@@ -169,6 +169,10 @@
   *dest = store_value;
 }
 
+inline void Atomic::store_ptr(intptr_t store_value, volatile intptr_t* dest) {
+  *dest = store_value;
+}
+
 inline jint Atomic::add(jint add_value, volatile jint* dest) {
 #ifdef ARM
   return arm_add_and_fetch(dest, add_value);