mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8143014: Access PtrQueue member offsets through derived classes
Moved accessors to derived classes and updated callers. Reviewed-by: tschatzl, jmasa, twisti
This commit is contained in:
parent
bf4eef4903
commit
e8c5bc2024
19 changed files with 157 additions and 88 deletions
|
@ -1622,9 +1622,9 @@ OopMapSet* Runtime1::generate_code_for(StubID id, StubAssembler* sasm) {
|
|||
NOT_LP64(__ get_thread(thread);)
|
||||
|
||||
Address queue_index(thread, in_bytes(JavaThread::satb_mark_queue_offset() +
|
||||
PtrQueue::byte_offset_of_index()));
|
||||
SATBMarkQueue::byte_offset_of_index()));
|
||||
Address buffer(thread, in_bytes(JavaThread::satb_mark_queue_offset() +
|
||||
PtrQueue::byte_offset_of_buf()));
|
||||
SATBMarkQueue::byte_offset_of_buf()));
|
||||
|
||||
Label done;
|
||||
Label runtime;
|
||||
|
@ -1698,9 +1698,9 @@ OopMapSet* Runtime1::generate_code_for(StubID id, StubAssembler* sasm) {
|
|||
const Register thread = NOT_LP64(rax) LP64_ONLY(r15_thread);
|
||||
|
||||
Address queue_index(thread, in_bytes(JavaThread::dirty_card_queue_offset() +
|
||||
PtrQueue::byte_offset_of_index()));
|
||||
DirtyCardQueue::byte_offset_of_index()));
|
||||
Address buffer(thread, in_bytes(JavaThread::dirty_card_queue_offset() +
|
||||
PtrQueue::byte_offset_of_buf()));
|
||||
DirtyCardQueue::byte_offset_of_buf()));
|
||||
|
||||
__ push(rax);
|
||||
__ push(rcx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue