< prev index next >

src/share/vm/gc_implementation/g1/g1CollectorPolicy.hpp

Print this page

        

@@ -890,15 +890,13 @@
       case InCSetState::Young:
         return _max_survivor_regions;
       case InCSetState::Old:
         return REGIONS_UNLIMITED;
       default:
-        assert(false, err_msg("Unknown dest state: " CSETSTATE_FORMAT, dest.value()));
+        fatal(err_msg("Unknown dest state: " CSETSTATE_FORMAT, dest.value()));
         break;
     }
-    // keep some compilers happy
-    return 0;
   }
 
   void note_start_adding_survivor_regions() {
     _survivor_surv_rate_group->start_adding_regions();
   }
< prev index next >