3538 assert(0 <= con_size_in_bytes && Assembler::is_simm13(con_size_in_bytes), "illegal object size"); |
3538 assert(0 <= con_size_in_bytes && Assembler::is_simm13(con_size_in_bytes), "illegal object size"); |
3539 assert((con_size_in_bytes & MinObjAlignmentInBytesMask) == 0, "object size is not multiple of alignment"); |
3539 assert((con_size_in_bytes & MinObjAlignmentInBytesMask) == 0, "object size is not multiple of alignment"); |
3540 |
3540 |
3541 if (CMSIncrementalMode || !Universe::heap()->supports_inline_contig_alloc()) { |
3541 if (CMSIncrementalMode || !Universe::heap()->supports_inline_contig_alloc()) { |
3542 // No allocation in the shared eden. |
3542 // No allocation in the shared eden. |
3543 ba_short(slow_case); |
3543 ba(slow_case); |
|
3544 delayed()->nop(); |
3544 } else { |
3545 } else { |
3545 // get eden boundaries |
3546 // get eden boundaries |
3546 // note: we need both top & top_addr! |
3547 // note: we need both top & top_addr! |
3547 const Register top_addr = t1; |
3548 const Register top_addr = t1; |
3548 const Register end = t2; |
3549 const Register end = t2; |