Mercurial > hg > truffle
comparison src/share/vm/memory/sharedHeap.hpp @ 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 | 148e5441d916 |
children | c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1087:23b9a8d315fc | 1088:3fc996d4edd2 |
---|---|
222 // string table. | 222 // string table. |
223 void process_weak_roots(OopClosure* root_closure, | 223 void process_weak_roots(OopClosure* root_closure, |
224 CodeBlobClosure* code_roots, | 224 CodeBlobClosure* code_roots, |
225 OopClosure* non_root_closure); | 225 OopClosure* non_root_closure); |
226 | 226 |
227 | |
228 // Like CollectedHeap::collect, but assume that the caller holds the Heap_lock. | |
229 virtual void collect_locked(GCCause::Cause cause) = 0; | |
230 | |
231 // The functions below are helper functions that a subclass of | 227 // The functions below are helper functions that a subclass of |
232 // "SharedHeap" can use in the implementation of its virtual | 228 // "SharedHeap" can use in the implementation of its virtual |
233 // functions. | 229 // functions. |
234 | 230 |
235 public: | 231 public: |