equal
deleted
inserted
replaced
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();) |