Mercurial > hg > truffle
comparison src/share/vm/gc_implementation/g1/g1RemSet.cpp @ 545:58054a18d735
6484959: G1: introduce survivor spaces
6797754: G1: combined bugfix
Summary: Implemented a policy to control G1 survivor space parameters.
Reviewed-by: tonyp, iveresov
author | apetrusenko |
---|---|
date | Fri, 06 Feb 2009 01:38:50 +0300 |
parents | 37f87013dfd8 |
children | 0fbdb4381b99 4f360ec815ba |
comparison
equal
deleted
inserted
replaced
544:82a980778b92 | 545:58054a18d735 |
---|---|
570 cleanupHRRS(); | 570 cleanupHRRS(); |
571 } | 571 } |
572 } | 572 } |
573 guarantee( _cards_scanned == NULL, "invariant" ); | 573 guarantee( _cards_scanned == NULL, "invariant" ); |
574 _cards_scanned = NEW_C_HEAP_ARRAY(size_t, n_workers()); | 574 _cards_scanned = NEW_C_HEAP_ARRAY(size_t, n_workers()); |
575 for (uint i = 0; i < n_workers(); ++i) { | |
576 _cards_scanned[i] = 0; | |
577 } | |
575 _total_cards_scanned = 0; | 578 _total_cards_scanned = 0; |
576 } | 579 } |
577 | 580 |
578 | 581 |
579 class cleanUpIteratorsClosure : public HeapRegionClosure { | 582 class cleanUpIteratorsClosure : public HeapRegionClosure { |