src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp

changeset 6404
96b1c2e06e25
parent 6402
191174b49bec
child 6405
a07bea31ef35
     1.1 --- a/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp	Mon Mar 24 15:30:30 2014 +0100
     1.2 +++ b/src/share/vm/gc_implementation/g1/g1CollectedHeap.hpp	Mon Mar 24 15:30:36 2014 +0100
     1.3 @@ -763,9 +763,12 @@
     1.4    // list later). The used bytes of freed regions are accumulated in
     1.5    // pre_used. If par is true, the region's RSet will not be freed
     1.6    // up. The assumption is that this will be done later.
     1.7 +  // The locked parameter indicates if the caller has already taken
     1.8 +  // care of proper synchronization. This may allow some optimizations.
     1.9    void free_region(HeapRegion* hr,
    1.10                     FreeRegionList* free_list,
    1.11 -                   bool par);
    1.12 +                   bool par,
    1.13 +                   bool locked = false);
    1.14  
    1.15    // Frees a humongous region by collapsing it into individual regions
    1.16    // and calling free_region() for each of them. The freed regions

mercurial