--- old/src/share/vm/gc_implementation/shared/vmGCOperations.cpp 2015-02-06 12:38:24.100184224 +0100 +++ new/src/share/vm/gc_implementation/shared/vmGCOperations.cpp 2015-02-06 12:38:24.016187142 +0100 @@ -299,9 +299,3 @@ set_gc_locked(); } } - -VM_CollectForAllocation::VM_CollectForAllocation(size_t word_size, uint gc_count_before, GCCause::Cause cause) : - VM_GC_Operation(gc_count_before, cause), _result(NULL), _word_size(word_size) { - // G1's incremental collections are not always caused by an allocation, which is indicated by word_size = 0. - assert(_word_size != 0 || UseG1GC, "word_size = 0 should only happen with G1"); -}