equal
deleted
inserted
replaced
82 const InCSetState state = _g1h->in_cset_state(obj); |
82 const InCSetState state = _g1h->in_cset_state(obj); |
83 if (state.is_in_cset()) { |
83 if (state.is_in_cset()) { |
84 prefetch_and_push(p, obj); |
84 prefetch_and_push(p, obj); |
85 } else if (!HeapRegion::is_in_same_region(p, obj)) { |
85 } else if (!HeapRegion::is_in_same_region(p, obj)) { |
86 handle_non_cset_obj_common(state, p, obj); |
86 handle_non_cset_obj_common(state, p, obj); |
87 if (_scanning_in_young) { |
87 assert(_scanning_in_young != Uninitialized, "Scan location has not been initialized."); |
|
88 if (_scanning_in_young == True) { |
88 return; |
89 return; |
89 } |
90 } |
90 _par_scan_state->enqueue_card_if_tracked(p, obj); |
91 _par_scan_state->enqueue_card_if_tracked(p, obj); |
91 } |
92 } |
92 } |
93 } |