diff options
author | Lei Li <lei.l.li@intel.com> | 2015-01-15 11:55:26 +0800 |
---|---|---|
committer | Haitao Feng <haitao.feng@intel.com> | 2015-01-26 10:34:05 +0800 |
commit | 4add3b4fa38ec42bb3c71d01cf70bce8e9a9fb4e (patch) | |
tree | 4b8bbd52a4bd139d5101e6a1f99f9a5748e6c1ed /runtime/gc/accounting/card_table.h | |
parent | 336247fa6deba2948f5ede1df806f48cf67c790a (diff) | |
download | art-4add3b4fa38ec42bb3c71d01cf70bce8e9a9fb4e.zip art-4add3b4fa38ec42bb3c71d01cf70bce8e9a9fb4e.tar.gz art-4add3b4fa38ec42bb3c71d01cf70bce8e9a9fb4e.tar.bz2 |
ART: clear dirty cards of alloc space for MS/CMS partial and full GCs
For MS/CMS partial and full GCs, we could clear the dirty cards of alloc
space when we process cards as we care about the dirty cards after GC
starts.
Change-Id: I1f9b32b20d75979387bc5d26b0cf9a256dcf20b6
Signed-off-by: Lei Li <lei.l.li@intel.com>
Diffstat (limited to 'runtime/gc/accounting/card_table.h')
-rw-r--r-- | runtime/gc/accounting/card_table.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/gc/accounting/card_table.h b/runtime/gc/accounting/card_table.h index a84cf34..3ea7651 100644 --- a/runtime/gc/accounting/card_table.h +++ b/runtime/gc/accounting/card_table.h @@ -113,6 +113,7 @@ class CardTable { // Resets all of the bytes in the card table to clean. void ClearCardTable(); + void ClearCardRange(uint8_t* start, uint8_t* end); // Resets all of the bytes in the card table which do not map to the image space. void ClearSpaceCards(space::ContinuousSpace* space); |