hotspot/src/cpu/x86/vm/c1_CodeStubs_x86.cpp
changeset 9186 7e9f22667cfc
parent 9182 ab3e9e0925ad
child 10972 ef164805934c
equal deleted inserted replaced
9185:7b717a00a48e 9186:7e9f22667cfc
   523   __ cmpl(ref_type_adr, REF_NONE);
   523   __ cmpl(ref_type_adr, REF_NONE);
   524   __ jcc(Assembler::equal, _continuation);
   524   __ jcc(Assembler::equal, _continuation);
   525 
   525 
   526   // Is marking active?
   526   // Is marking active?
   527   assert(thread()->is_register(), "precondition");
   527   assert(thread()->is_register(), "precondition");
   528   Register thread_reg = NOT_LP64(thread()->as_register()) LP64_ONLY(thread()->as_register_lo());
   528   Register thread_reg = thread()->as_pointer_register();
   529 
   529 
   530   Address in_progress(thread_reg, in_bytes(JavaThread::satb_mark_queue_offset() +
   530   Address in_progress(thread_reg, in_bytes(JavaThread::satb_mark_queue_offset() +
   531                                        PtrQueue::byte_offset_of_active()));
   531                                        PtrQueue::byte_offset_of_active()));
   532 
   532 
   533   if (in_bytes(PtrQueue::byte_width_of_active()) == 4) {
   533   if (in_bytes(PtrQueue::byte_width_of_active()) == 4) {