-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b12
-
aarch64
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8341109 | 21.0.6-oracle | Calvin Cheung | P4 | Resolved | Fixed | b01 |
JDK-8335325 | 21.0.5 | Aleksey Shipilev | P4 | Resolved | Fixed | b01 |
Fastdebug builds are failing on Linux aarch64 with GCC13.2
In member function ‘void Atomic::PlatformOrderedStore<byte_size, RELEASE_X>::operator()(volatile T*, T) const [with T = unsigned int; long unsigned int byte_size = 4]’,
inlined from ‘void Atomic::StoreImpl<T, T, PlatformOp, typename std::enable_if<PrimitiveConversions::Translate<T>::value, void>::type>::operator()(volatile T*, T) const [with T = JavaThreadState; PlatformOp = Atomic::PlatformOrderedStore<4, RELEASE_X>]’ at /code/src/hotspot/share/runtime/atomic.hpp:605:17,
inlined from ‘static void Atomic::release_store(volatile D*, T) [with D = JavaThreadState; T = JavaThreadState]’ at /code/src/hotspot/share/runtime/atomic.hpp:905:65,
inlined from ‘void JavaThread::set_thread_state(JavaThreadState)’ at /code/src/hotspot/share/runtime/javaThread.inline.hpp:156:24,
inlined from ‘static void ThreadStateTransition::transition_from_vm(JavaThread*, JavaThreadState, bool)’ at /code/src/hotspot/share/runtime/interfaceSupport.inline.hpp:123:31,
inlined from ‘ThreadBlockInVMPreprocess<PRE_PROC>::ThreadBlockInVMPreprocess(JavaThread*, PRE_PROC&, bool) [with PRE_PROC = void(JavaThread*)]’ at /code/src/hotspot/share/runtime/interfaceSupport.inline.hpp:209:23,
inlined from ‘ThreadBlockInVM::ThreadBlockInVM(JavaThread*, bool)’ at /code/src/hotspot/share/runtime/interfaceSupport.inline.hpp:226:63,
inlined from ‘void ShenandoahLock::contended_lock_internal(JavaThread*) [with BlockOp = ThreadBlockInVM]’ at /code/src/hotspot/share/gc/shenandoah/shenandoahLock.cpp:59:15:
/code/src/hotspot/os_cpu/linux_aarch64/atomic_linux_aarch64.hpp:210:61: error: ‘void __atomic_store_4(volatile void*, unsigned int, int)’ writing 4 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=]
In member function ‘void Atomic::PlatformOrderedStore<byte_size, RELEASE_X>::operator()(volatile T*, T) const [with T = unsigned int; long unsigned int byte_size = 4]’,
inlined from ‘void Atomic::StoreImpl<T, T, PlatformOp, typename std::enable_if<PrimitiveConversions::Translate<T>::value, void>::type>::operator()(volatile T*, T) const [with T = JavaThreadState; PlatformOp = Atomic::PlatformOrderedStore<4, RELEASE_X>]’ at /code/src/hotspot/share/runtime/atomic.hpp:605:17,
inlined from ‘static void Atomic::release_store(volatile D*, T) [with D = JavaThreadState; T = JavaThreadState]’ at /code/src/hotspot/share/runtime/atomic.hpp:905:65,
inlined from ‘void JavaThread::set_thread_state(JavaThreadState)’ at /code/src/hotspot/share/runtime/javaThread.inline.hpp:156:24,
inlined from ‘static void ThreadStateTransition::transition_from_vm(JavaThread*, JavaThreadState, bool)’ at /code/src/hotspot/share/runtime/interfaceSupport.inline.hpp:123:31,
inlined from ‘ThreadBlockInVMPreprocess<PRE_PROC>::ThreadBlockInVMPreprocess(JavaThread*, PRE_PROC&, bool) [with PRE_PROC = void(JavaThread*)]’ at /code/src/hotspot/share/runtime/interfaceSupport.inline.hpp:209:23,
inlined from ‘ThreadBlockInVM::ThreadBlockInVM(JavaThread*, bool)’ at /code/src/hotspot/share/runtime/interfaceSupport.inline.hpp:226:63,
inlined from ‘void ShenandoahLock::contended_lock_internal(JavaThread*) [with BlockOp = ThreadBlockInVM]’ at /code/src/hotspot/share/gc/shenandoah/shenandoahLock.cpp:59:15:
/code/src/hotspot/os_cpu/linux_aarch64/atomic_linux_aarch64.hpp:210:61: error: ‘void __atomic_store_4(volatile void*, unsigned int, int)’ writing 4 bytes into a region of size 0 overflows the destination [-Werror=stringop-overflow=]
- backported by
-
JDK-8335325 Disable stringop-overflow in shenandoahLock.cpp
- Resolved
-
JDK-8341109 Disable stringop-overflow in shenandoahLock.cpp
- Resolved
- relates to
-
JDK-8325587 Shenandoah: ShenandoahLock should allow blocking in VM
- Resolved
- links to
-
Commit openjdk/jdk21u-dev/6c65326b
-
Commit openjdk/jdk/97aca09e
-
Review openjdk/jdk21u-dev/797
-
Review openjdk/jdk/18017
-
Review(master) openjdk/jdk22u/250
(3 links to)