equal
deleted
inserted
replaced
3560 // Allocation in the shared Eden, if allowed. |
3560 // Allocation in the shared Eden, if allowed. |
3561 // |
3561 // |
3562 // r3: instance size in bytes |
3562 // r3: instance size in bytes |
3563 if (allow_shared_alloc) { |
3563 if (allow_shared_alloc) { |
3564 __ eden_allocate(r0, r3, 0, r10, slow_case); |
3564 __ eden_allocate(r0, r3, 0, r10, slow_case); |
3565 __ incr_allocated_bytes(rthread, r3, 0, rscratch1); |
|
3566 } |
3565 } |
3567 } |
3566 } |
3568 |
3567 |
3569 // If UseTLAB or allow_shared_alloc are true, the object is created above and |
3568 // If UseTLAB or allow_shared_alloc are true, the object is created above and |
3570 // there is an initialize need. Otherwise, skip and go to the slow path. |
3569 // there is an initialize need. Otherwise, skip and go to the slow path. |