src/share/vm/gc_implementation/g1/sparsePRT.hpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/src/share/vm/gc_implementation/g1/sparsePRT.hpp Wed Jan 15 01:41:03 2014
--- new/src/share/vm/gc_implementation/g1/sparsePRT.hpp Wed Jan 15 01:41:03 2014
*** 142,152 ****
--- 142,152 ----
RSHashTable(size_t capacity);
~RSHashTable();
// Attempts to ensure that the given card_index in the given region is in
// the sparse table. If successful (because the card was already
! // present, or because it was successfullly added) returns "true".
! // present, or because it was successfully added) returns "true".
// Otherwise, returns "false" to indicate that the addition would
// overflow the entry for the region. The caller must transfer these
// entries to a larger-capacity representation.
bool add_card(RegionIdx_t region_id, CardIdx_t card_index);
*** 199,210 ****
--- 199,209 ----
_rsht(rsht) {}
bool has_next(size_t& card_index);
};
! // Concurrent accesss to a SparsePRT must be serialized by some external
// mutex.
! // Concurrent access to a SparsePRT must be serialized by some external mutex.
class SparsePRTIter;
class SparsePRTCleanupTask;
class SparsePRT VALUE_OBJ_CLASS_SPEC {
*** 246,256 ****
--- 245,255 ----
size_t occupied() const { return _next->occupied_cards(); }
size_t mem_size() const;
// Attempts to ensure that the given card_index in the given region is in
// the sparse table. If successful (because the card was already
! // present, or because it was successfullly added) returns "true".
! // present, or because it was successfully added) returns "true".
// Otherwise, returns "false" to indicate that the addition would
// overflow the entry for the region. The caller must transfer these
// entries to a larger-capacity representation.
bool add_card(RegionIdx_t region_id, CardIdx_t card_index);
src/share/vm/gc_implementation/g1/sparsePRT.hpp
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File