< prev index next >

src/hotspot/share/gc/shared/generation.cpp

Print this page
rev 58017 : [mq]: 8238854-remove-superfluous-alloc-checks

@@ -77,13 +77,10 @@
 void Generation::ref_processor_init() {
   assert(_ref_processor == NULL, "a reference processor already exists");
   assert(!_reserved.is_empty(), "empty generation?");
   _span_based_discoverer.set_span(_reserved);
   _ref_processor = new ReferenceProcessor(&_span_based_discoverer);    // a vanilla reference processor
-  if (_ref_processor == NULL) {
-    vm_exit_during_initialization("Could not allocate ReferenceProcessor object");
-  }
 }
 
 void Generation::print() const { print_on(tty); }
 
 void Generation::print_on(outputStream* st)  const {
< prev index next >