763 _active_array->increment_refcount(); |
763 _active_array->increment_refcount(); |
764 assert(_active_mutex->rank() < _allocation_mutex->rank(), |
764 assert(_active_mutex->rank() < _allocation_mutex->rank(), |
765 "%s: active_mutex must have lower rank than allocation_mutex", _name); |
765 "%s: active_mutex must have lower rank than allocation_mutex", _name); |
766 assert(Service_lock->rank() < _active_mutex->rank(), |
766 assert(Service_lock->rank() < _active_mutex->rank(), |
767 "%s: active_mutex must have higher rank than Service_lock", _name); |
767 "%s: active_mutex must have higher rank than Service_lock", _name); |
768 assert(_active_mutex->_safepoint_check_required != Mutex::_safepoint_check_always, |
768 assert(_active_mutex->_safepoint_check_required == Mutex::_safepoint_check_never, |
769 "%s: active mutex requires safepoint check", _name); |
769 "%s: active mutex requires never safepoint check", _name); |
770 assert(_allocation_mutex->_safepoint_check_required != Mutex::_safepoint_check_always, |
770 assert(_allocation_mutex->_safepoint_check_required == Mutex::_safepoint_check_never, |
771 "%s: allocation mutex requires safepoint check", _name); |
771 "%s: allocation mutex requires never safepoint check", _name); |
772 } |
772 } |
773 |
773 |
774 void OopStorage::delete_empty_block(const Block& block) { |
774 void OopStorage::delete_empty_block(const Block& block) { |
775 assert(block.is_empty(), "discarding non-empty block"); |
775 assert(block.is_empty(), "discarding non-empty block"); |
776 log_debug(oopstorage, blocks)("%s: delete empty block " PTR_FORMAT, name(), p2i(&block)); |
776 log_debug(oopstorage, blocks)("%s: delete empty block " PTR_FORMAT, name(), p2i(&block)); |