Mercurial > hg > graal-compiler
comparison src/cpu/sparc/vm/c1_CodeStubs_sparc.cpp @ 3254:59766fd005ff
7035117: G1: nsk/stress/jni/jnistress002 fails with assertion failure
Summary: Allow long type for offset in G1 code in compiler implementations of Unsafe.getObject
Reviewed-by: never, iveresov
author | johnc |
---|---|
date | Wed, 13 Apr 2011 17:56:43 -0700 |
parents | e1162778c1c8 |
children | 527b586edf24 |
comparison
equal
deleted
inserted
replaced
3253:f177ddd59c60 | 3254:59766fd005ff |
---|---|
487 } | 487 } |
488 __ delayed()->nop(); | 488 __ delayed()->nop(); |
489 | 489 |
490 // Is marking active? | 490 // Is marking active? |
491 assert(thread()->is_register(), "precondition"); | 491 assert(thread()->is_register(), "precondition"); |
492 Register thread_reg = thread()->as_register(); | 492 Register thread_reg = NOT_LP64(thread()->as_register()) LP64_ONLY(thread()->as_register_lo()); |
493 | 493 |
494 Address in_progress(thread_reg, in_bytes(JavaThread::satb_mark_queue_offset() + | 494 Address in_progress(thread_reg, in_bytes(JavaThread::satb_mark_queue_offset() + |
495 PtrQueue::byte_offset_of_active())); | 495 PtrQueue::byte_offset_of_active())); |
496 | 496 |
497 if (in_bytes(PtrQueue::byte_width_of_active()) == 4) { | 497 if (in_bytes(PtrQueue::byte_width_of_active()) == 4) { |