Mercurial > hg > graal-jvmci-8
diff src/share/vm/gc_implementation/g1/vm_operations_g1.cpp @ 12113:f7d3b4387a16
8022872: G1: Use correct GC cause for young GC triggered by humongous allocations
Reviewed-by: tonyp, tschatzl
author | brutisso |
---|---|
date | Wed, 21 Aug 2013 22:35:56 +0200 |
parents | f2110083203d |
children | 0982ec23da03 |
line wrap: on
line diff
--- a/src/share/vm/gc_implementation/g1/vm_operations_g1.cpp Wed Aug 14 19:52:16 2013 -0700 +++ b/src/share/vm/gc_implementation/g1/vm_operations_g1.cpp Wed Aug 21 22:35:56 2013 +0200 @@ -70,9 +70,6 @@ guarantee(target_pause_time_ms > 0.0, err_msg("target_pause_time_ms = %1.6lf should be positive", target_pause_time_ms)); - guarantee(word_size == 0 || gc_cause == GCCause::_g1_inc_collection_pause, - "we can only request an allocation if the GC cause is for " - "an incremental GC pause"); _gc_cause = gc_cause; }