src/hotspot/share/oops/klass.cpp
changeset 59248 e92153ed8bdc
parent 59247 56bf71d64d51
child 59249 29b0d0b61615
equal deleted inserted replaced
59247:56bf71d64d51 59248:e92153ed8bdc
   408 void Klass::set_next_sibling(Klass* s) {
   408 void Klass::set_next_sibling(Klass* s) {
   409   assert(s != this, "sanity check");
   409   assert(s != this, "sanity check");
   410   // Does not need release semantics. If used by cleanup, it will link to
   410   // Does not need release semantics. If used by cleanup, it will link to
   411   // already safely published data, and if used by inserts, will be published
   411   // already safely published data, and if used by inserts, will be published
   412   // safely using cmpxchg.
   412   // safely using cmpxchg.
   413   Atomic::store(s, &_next_sibling);
   413   Atomic::store(&_next_sibling, s);
   414 }
   414 }
   415 
   415 
   416 void Klass::append_to_sibling_list() {
   416 void Klass::append_to_sibling_list() {
   417   assert_locked_or_safepoint(Compile_lock);
   417   assert_locked_or_safepoint(Compile_lock);
   418   debug_only(verify();)
   418   debug_only(verify();)