equal
deleted
inserted
replaced
4255 int java_lang_AssertionStatusDirectives::classEnabled_offset; |
4255 int java_lang_AssertionStatusDirectives::classEnabled_offset; |
4256 int java_lang_AssertionStatusDirectives::packages_offset; |
4256 int java_lang_AssertionStatusDirectives::packages_offset; |
4257 int java_lang_AssertionStatusDirectives::packageEnabled_offset; |
4257 int java_lang_AssertionStatusDirectives::packageEnabled_offset; |
4258 int java_lang_AssertionStatusDirectives::deflt_offset; |
4258 int java_lang_AssertionStatusDirectives::deflt_offset; |
4259 int java_nio_Buffer::_limit_offset; |
4259 int java_nio_Buffer::_limit_offset; |
4260 int java_util_concurrent_locks_AbstractOwnableSynchronizer::_owner_offset = 0; |
4260 int java_util_concurrent_locks_AbstractOwnableSynchronizer::_owner_offset; |
4261 int reflect_ConstantPool::_oop_offset; |
4261 int reflect_ConstantPool::_oop_offset; |
4262 int reflect_UnsafeStaticFieldAccessorImpl::_base_offset; |
4262 int reflect_UnsafeStaticFieldAccessorImpl::_base_offset; |
4263 |
4263 |
4264 #define STACKTRACEELEMENT_FIELDS_DO(macro) \ |
4264 #define STACKTRACEELEMENT_FIELDS_DO(macro) \ |
4265 macro(declaringClassObject_offset, k, "declaringClassObject", class_signature, false); \ |
4265 macro(declaringClassObject_offset, k, "declaringClassObject", class_signature, false); \ |
4397 void java_nio_Buffer::serialize(SerializeClosure* f) { |
4397 void java_nio_Buffer::serialize(SerializeClosure* f) { |
4398 BUFFER_FIELDS_DO(FIELD_SERIALIZE_OFFSET); |
4398 BUFFER_FIELDS_DO(FIELD_SERIALIZE_OFFSET); |
4399 } |
4399 } |
4400 #endif |
4400 #endif |
4401 |
4401 |
4402 void java_util_concurrent_locks_AbstractOwnableSynchronizer::initialize(TRAPS) { |
4402 #define AOS_FIELDS_DO(macro) \ |
4403 if (_owner_offset != 0) return; |
4403 macro(_owner_offset, k, "exclusiveOwnerThread", thread_signature, false) |
4404 |
4404 |
4405 SystemDictionary::load_abstract_ownable_synchronizer_klass(CHECK); |
4405 void java_util_concurrent_locks_AbstractOwnableSynchronizer::compute_offsets() { |
4406 InstanceKlass* k = SystemDictionary::abstract_ownable_synchronizer_klass(); |
4406 InstanceKlass* k = SystemDictionary::java_util_concurrent_locks_AbstractOwnableSynchronizer_klass(); |
4407 compute_offset(_owner_offset, k, |
4407 AOS_FIELDS_DO(FIELD_COMPUTE_OFFSET); |
4408 "exclusiveOwnerThread", vmSymbols::thread_signature()); |
|
4409 } |
4408 } |
4410 |
4409 |
4411 oop java_util_concurrent_locks_AbstractOwnableSynchronizer::get_owner_threadObj(oop obj) { |
4410 oop java_util_concurrent_locks_AbstractOwnableSynchronizer::get_owner_threadObj(oop obj) { |
4412 assert(_owner_offset != 0, "Must be initialized"); |
4411 assert(_owner_offset != 0, "Must be initialized"); |
4413 return obj->obj_field(_owner_offset); |
4412 return obj->obj_field(_owner_offset); |
4471 java_lang_reflect_Parameter::compute_offsets(); |
4470 java_lang_reflect_Parameter::compute_offsets(); |
4472 java_lang_Module::compute_offsets(); |
4471 java_lang_Module::compute_offsets(); |
4473 java_lang_StackTraceElement::compute_offsets(); |
4472 java_lang_StackTraceElement::compute_offsets(); |
4474 java_lang_StackFrameInfo::compute_offsets(); |
4473 java_lang_StackFrameInfo::compute_offsets(); |
4475 java_lang_LiveStackFrameInfo::compute_offsets(); |
4474 java_lang_LiveStackFrameInfo::compute_offsets(); |
|
4475 java_util_concurrent_locks_AbstractOwnableSynchronizer::compute_offsets(); |
4476 |
4476 |
4477 // generated interpreter code wants to know about the offsets we just computed: |
4477 // generated interpreter code wants to know about the offsets we just computed: |
4478 AbstractAssembler::update_delayed_values(); |
4478 AbstractAssembler::update_delayed_values(); |
4479 } |
4479 } |
4480 |
4480 |