< prev index next >
src/share/vm/gc_implementation/shared/vmGCOperations.cpp
Print this page
rev 7781 : imported patch 8066771
rev 7782 : [mq]: review
*** 297,307 ****
if (GC_locker::is_active_and_needs_gc()) {
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");
- }
--- 297,301 ----
< prev index next >