Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
In the follow up to JDK-8154750 Zhengyu Gu wrote: > > In classLoader.hpp > > // Next entry in class path > ClassPathEntry* next() const { return _next; } > void set_next(ClassPathEntry* next) { > // may have unlocked readers, so write atomically. > OrderAccess::release_store_ptr(&_next, next); > } > > If there are unlocked readers, looks like that load_acquire is needed in > next() function. In general we need to verify store_release is always paired with load_acquire on lock-free paths.
|