113 dl_needs_barrier); |
113 dl_needs_barrier); |
114 if (rp == NULL) { |
114 if (rp == NULL) { |
115 vm_exit_during_initialization("Could not allocate ReferenceProcessor object"); |
115 vm_exit_during_initialization("Could not allocate ReferenceProcessor object"); |
116 } |
116 } |
117 rp->set_is_alive_non_header(is_alive_non_header); |
117 rp->set_is_alive_non_header(is_alive_non_header); |
118 rp->snap_policy(false /* default soft ref policy */); |
118 rp->setup_policy(false /* default soft ref policy */); |
119 return rp; |
119 return rp; |
120 } |
120 } |
121 |
121 |
122 ReferenceProcessor::ReferenceProcessor(MemRegion span, |
122 ReferenceProcessor::ReferenceProcessor(MemRegion span, |
123 bool atomic_discovery, |
123 bool atomic_discovery, |