hotspot/src/cpu/ppc/vm/templateTable_ppc_64.cpp
changeset 46487 f8e5223d1501
parent 46427 54713555867e
child 46615 3fd9b25850f4
equal deleted inserted replaced
46486:314aa24e62d6 46487:f8e5223d1501
  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.