Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/sparsePRT.hpp @ 6198:24b9c7f4cae6
Merge
author | coleenp |
---|---|
date | Mon, 02 Jul 2012 13:11:28 -0400 |
parents | d2a62e0f25eb |
children | b9a9ed0f8eeb |
comparison
equal
deleted
inserted
replaced
6195:bcffa4c5eef6 | 6198:24b9c7f4cae6 |
---|---|
40 // deletions may be done in single-threaded code. This allows us to allow | 40 // deletions may be done in single-threaded code. This allows us to allow |
41 // unsynchronized reads/iterations, as long as expansions caused by | 41 // unsynchronized reads/iterations, as long as expansions caused by |
42 // insertions only enqueue old versions for deletions, but do not delete | 42 // insertions only enqueue old versions for deletions, but do not delete |
43 // old versions synchronously. | 43 // old versions synchronously. |
44 | 44 |
45 class SparsePRTEntry: public CHeapObj { | 45 class SparsePRTEntry: public CHeapObj<mtGC> { |
46 public: | 46 public: |
47 enum SomePublicConstants { | 47 enum SomePublicConstants { |
48 NullEntry = -1, | 48 NullEntry = -1, |
49 UnrollFactor = 4 | 49 UnrollFactor = 4 |
50 }; | 50 }; |
99 | 99 |
100 inline CardIdx_t card(int i) const { return _cards[i]; } | 100 inline CardIdx_t card(int i) const { return _cards[i]; } |
101 }; | 101 }; |
102 | 102 |
103 | 103 |
104 class RSHashTable : public CHeapObj { | 104 class RSHashTable : public CHeapObj<mtGC> { |
105 | 105 |
106 friend class RSHashTableIter; | 106 friend class RSHashTableIter; |
107 | 107 |
108 enum SomePrivateConstants { | 108 enum SomePrivateConstants { |
109 NullEntry = -1 | 109 NullEntry = -1 |