hotspot/src/share/vm/gc/shared/referenceProcessor.cpp
changeset 32623 390a27af5657
parent 32607 c69a7b61ab02
child 32817 acc2744fd84b
equal deleted inserted replaced
32622:7ed47d0b888a 32623:390a27af5657
  1063     // For soft refs we can decide now if these are not
  1063     // For soft refs we can decide now if these are not
  1064     // current candidates for clearing, in which case we
  1064     // current candidates for clearing, in which case we
  1065     // can mark through them now, rather than delaying that
  1065     // can mark through them now, rather than delaying that
  1066     // to the reference-processing phase. Since all current
  1066     // to the reference-processing phase. Since all current
  1067     // time-stamp policies advance the soft-ref clock only
  1067     // time-stamp policies advance the soft-ref clock only
  1068     // at a major collection cycle, this is always currently
  1068     // at a full collection cycle, this is always currently
  1069     // accurate.
  1069     // accurate.
  1070     if (!_current_soft_ref_policy->should_clear_reference(obj, _soft_ref_timestamp_clock)) {
  1070     if (!_current_soft_ref_policy->should_clear_reference(obj, _soft_ref_timestamp_clock)) {
  1071       return false;
  1071       return false;
  1072     }
  1072     }
  1073   }
  1073   }