< prev index next >

src/hotspot/share/oops/klass.cpp

Print this page

        

*** 408,418 **** void Klass::set_next_sibling(Klass* s) { assert(s != this, "sanity check"); // Does not need release semantics. If used by cleanup, it will link to // already safely published data, and if used by inserts, will be published // safely using cmpxchg. ! Atomic::store(s, &_next_sibling); } void Klass::append_to_sibling_list() { assert_locked_or_safepoint(Compile_lock); debug_only(verify();) --- 408,418 ---- void Klass::set_next_sibling(Klass* s) { assert(s != this, "sanity check"); // Does not need release semantics. If used by cleanup, it will link to // already safely published data, and if used by inserts, will be published // safely using cmpxchg. ! Atomic::store(&_next_sibling, s); } void Klass::append_to_sibling_list() { assert_locked_or_safepoint(Compile_lock); debug_only(verify();)
< prev index next >