mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8205699: assert(_owner_offset != 0) failed in javaClasses.cpp
Added java_util_concurrent_locks_AbstractOwnableSynchronizer::serialize. Reviewed-by: ccheung, dholmes
This commit is contained in:
parent
93314be3c2
commit
884f9db3c6
3 changed files with 8 additions and 0 deletions
|
@ -4425,6 +4425,12 @@ oop java_util_concurrent_locks_AbstractOwnableSynchronizer::get_owner_threadObj(
|
|||
return obj->obj_field(_owner_offset);
|
||||
}
|
||||
|
||||
#if INCLUDE_CDS
|
||||
void java_util_concurrent_locks_AbstractOwnableSynchronizer::serialize(SerializeClosure* f) {
|
||||
AOS_FIELDS_DO(FIELD_SERIALIZE_OFFSET);
|
||||
}
|
||||
#endif
|
||||
|
||||
static int member_offset(int hardcoded_offset) {
|
||||
return (hardcoded_offset * heapOopSize) + instanceOopDesc::base_offset_in_bytes();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue