< prev index next >

src/hotspot/share/gc/g1/g1CardTable.hpp

Print this page
rev 56673 : imported patch 8227739-merge-scan-rs-update-rs-cost

*** 90,105 **** size_t index_for_cardvalue(CardValue const* p) const { return pointer_delta(p, _byte_map, sizeof(CardValue)); } ! // Mark the given card as Dirty if it is Clean. ! inline void mark_clean_as_dirty(size_t card_index); // Change Clean cards in a (large) area on the card table as Dirty, preserving // already scanned cards. Assumes that most cards in that area are Clean. ! inline void mark_region_dirty(size_t start_card_index, size_t num_cards); // Mark the given range of cards as Scanned. All of these cards must be Dirty. inline void mark_as_scanned(size_t start_card_index, size_t num_cards); inline uint region_idx_for(CardValue* p); --- 90,109 ---- size_t index_for_cardvalue(CardValue const* p) const { return pointer_delta(p, _byte_map, sizeof(CardValue)); } ! // Mark the given card as Dirty if it is Clean. Returns the number of dirtied ! // cards that were not yet dirty. This result may be inaccurate as it does not ! // perform the dirtying atomically. ! inline size_t mark_clean_as_dirty(size_t card_index); // Change Clean cards in a (large) area on the card table as Dirty, preserving // already scanned cards. Assumes that most cards in that area are Clean. ! // Returns the number of dirtied cards that were not yet dirty. This result may ! // be inaccurate as it does not perform the dirtying atomically. ! inline size_t mark_region_dirty(size_t start_card_index, size_t num_cards); // Mark the given range of cards as Scanned. All of these cards must be Dirty. inline void mark_as_scanned(size_t start_card_index, size_t num_cards); inline uint region_idx_for(CardValue* p);
< prev index next >