equal
deleted
inserted
replaced
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 } |