dragonwell-project / dragonwell8

Alibaba Dragonwell8 JDK
http://dragonwell-jdk.io
GNU General Public License v2.0
4.21k stars 497 forks source link

[aarch64] crash due to lack of memory barrier #457

Closed sandlerwang closed 1 year ago

sandlerwang commented 1 year ago

Dragonwell 8 may crash due to lack of memory barriers.
Specific patches are: 8154750: Add missing OrderAccess operations to ClassLoaderData lock-free data structures https://bugs.openjdk.org/browse/JDK-8154750 8233073: Make BitMap accessors more memory ordering friendly https://bugs.openjdk.org/browse/JDK-8233073 8221584: SIGSEGV in os::PlatformEvent::unpark() in JvmtiRawMonitor::raw_exit while posting method exit event https://bugs.openjdk.org/browse/JDK-8221584 8166197: assert(RelaxAssert || w != Thread::current()->_MutexEvent) failed: invariant 8164207: Checking missing load-acquire in relation to _pd_set in dictionary.cpp https://bugs.openjdk.org/browse/JDK-8164207