Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/vm_operations_g1.cpp @ 1088:3fc996d4edd2
6902303: G1: ScavengeALot should cause an incremental, rather than a full, collection
Summary: ScavengeALot now causes an incremental (but possibly partially young, in the G1 sense) collection. Some such collections may be abandoned on account of MMU specs. Band-aided a native leak associated with abandoned pauses, as well as an MMU tracker overflow related to frequent scavenge events in the face of a large MMU denominator interval; the latter is protected by a product flag that defaults to false.
Reviewed-by: tonyp
author | ysr |
---|---|
date | Thu, 19 Nov 2009 13:43:25 -0800 |
parents | bd02caa94611 |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1087:23b9a8d315fc | 1088:3fc996d4edd2 |
---|---|
40 } | 40 } |
41 | 41 |
42 void VM_G1IncCollectionPause::doit() { | 42 void VM_G1IncCollectionPause::doit() { |
43 JvmtiGCForAllocationMarker jgcm; | 43 JvmtiGCForAllocationMarker jgcm; |
44 G1CollectedHeap* g1h = G1CollectedHeap::heap(); | 44 G1CollectedHeap* g1h = G1CollectedHeap::heap(); |
45 GCCauseSetter x(g1h, GCCause::_g1_inc_collection_pause); | 45 GCCauseSetter x(g1h, _gc_cause); |
46 g1h->do_collection_pause_at_safepoint(); | 46 g1h->do_collection_pause_at_safepoint(); |
47 } | 47 } |
48 | 48 |
49 void VM_CGC_Operation::doit() { | 49 void VM_CGC_Operation::doit() { |
50 gclog_or_tty->date_stamp(PrintGC && PrintGCDateStamps); | 50 gclog_or_tty->date_stamp(PrintGC && PrintGCDateStamps); |