equal
deleted
inserted
replaced
4423 oop java_util_concurrent_locks_AbstractOwnableSynchronizer::get_owner_threadObj(oop obj) { |
4423 oop java_util_concurrent_locks_AbstractOwnableSynchronizer::get_owner_threadObj(oop obj) { |
4424 assert(_owner_offset != 0, "Must be initialized"); |
4424 assert(_owner_offset != 0, "Must be initialized"); |
4425 return obj->obj_field(_owner_offset); |
4425 return obj->obj_field(_owner_offset); |
4426 } |
4426 } |
4427 |
4427 |
|
4428 #if INCLUDE_CDS |
|
4429 void java_util_concurrent_locks_AbstractOwnableSynchronizer::serialize(SerializeClosure* f) { |
|
4430 AOS_FIELDS_DO(FIELD_SERIALIZE_OFFSET); |
|
4431 } |
|
4432 #endif |
|
4433 |
4428 static int member_offset(int hardcoded_offset) { |
4434 static int member_offset(int hardcoded_offset) { |
4429 return (hardcoded_offset * heapOopSize) + instanceOopDesc::base_offset_in_bytes(); |
4435 return (hardcoded_offset * heapOopSize) + instanceOopDesc::base_offset_in_bytes(); |
4430 } |
4436 } |
4431 |
4437 |
4432 // Compute hard-coded offsets |
4438 // Compute hard-coded offsets |