--- old/src/hotspot/share/gc/parallel/psCompactionManager.cpp 2020-02-11 14:19:37.508223946 +0100 +++ new/src/hotspot/share/gc/parallel/psCompactionManager.cpp 2020-02-11 14:19:37.091211126 +0100 @@ -78,16 +78,12 @@ _manager_array = NEW_C_HEAP_ARRAY(ParCompactionManager*, parallel_gc_threads+1, mtGC); _oop_task_queues = new OopTaskQueueSet(parallel_gc_threads); - guarantee(_oop_task_queues != NULL, "Could not allocate oop task queues"); _objarray_task_queues = new ObjArrayTaskQueueSet(parallel_gc_threads); - guarantee(_objarray_task_queues != NULL, "Could not allocate objarray task queues"); _region_task_queues = new RegionTaskQueueSet(parallel_gc_threads); - guarantee(_region_task_queues != NULL, "Could not allocate region task queues"); // Create and register the ParCompactionManager(s) for the worker threads. for(uint i=0; iregister_queue(i, _manager_array[i]->marking_stack()); _objarray_task_queues->register_queue(i, &_manager_array[i]->_objarray_stack); region_task_queues()->register_queue(i, _manager_array[i]->region_stack()); @@ -96,8 +92,6 @@ // The VMThread gets its own ParCompactionManager, which is not available // for work stealing. _manager_array[parallel_gc_threads] = new ParCompactionManager(); - guarantee(_manager_array[parallel_gc_threads] != NULL, - "Could not create ParCompactionManager"); assert(ParallelScavengeHeap::heap()->workers().total_workers() != 0, "Not initialized?");