--- old/src/hotspot/share/gc/g1/vm_operations_g1.cpp 2018-01-10 10:48:19.346782705 +0100 +++ new/src/hotspot/share/gc/g1/vm_operations_g1.cpp 2018-01-10 10:48:18.915769619 +0100 @@ -139,7 +139,7 @@ // An allocation had been requested. Do it, eventually trying a stronger // kind of GC. _result = g1h->satisfy_failed_allocation(_word_size, _allocation_context, &_pause_succeeded); - } else if (g1h->no_more_regions_left_for_allocation()) { + } else if (!g1h->has_regions_left_for_allocation()) { // There has been a request to perform a GC to free some space. We have no // information on how much memory has been asked for. In case there are // absolutely no regions left to allocate into, do a maximally compacting full GC.