equal
deleted
inserted
replaced
3718 __ srdi(RfreeValue, RfreeValue, LogHeapWordSize); // in dwords |
3718 __ srdi(RfreeValue, RfreeValue, LogHeapWordSize); // in dwords |
3719 __ cmpld(CCR0, RtlabWasteLimitValue, RfreeValue); |
3719 __ cmpld(CCR0, RtlabWasteLimitValue, RfreeValue); |
3720 __ bge(CCR0, Lslow_case); |
3720 __ bge(CCR0, Lslow_case); |
3721 |
3721 |
3722 // Increment waste limit to prevent getting stuck on this slow path. |
3722 // Increment waste limit to prevent getting stuck on this slow path. |
3723 __ addi(RtlabWasteLimitValue, RtlabWasteLimitValue, (int)ThreadLocalAllocBuffer::refill_waste_limit_increment()); |
3723 __ add_const_optimized(RtlabWasteLimitValue, RtlabWasteLimitValue, ThreadLocalAllocBuffer::refill_waste_limit_increment()); |
3724 __ std(RtlabWasteLimitValue, in_bytes(JavaThread::tlab_refill_waste_limit_offset()), R16_thread); |
3724 __ std(RtlabWasteLimitValue, in_bytes(JavaThread::tlab_refill_waste_limit_offset()), R16_thread); |
3725 } |
3725 } |
3726 // else: No allocation in the shared eden. // fallthru: __ b(Lslow_case); |
3726 // else: No allocation in the shared eden. // fallthru: __ b(Lslow_case); |
3727 } |
3727 } |
3728 // else: Always go the slow path. |
3728 // else: Always go the slow path. |