2263 &_is_alive_closure_stw, |
2263 &_is_alive_closure_stw, |
2264 // is alive closure |
2264 // is alive closure |
2265 // (for efficiency/performance) |
2265 // (for efficiency/performance) |
2266 false); |
2266 false); |
2267 // Setting next fields of discovered |
2267 // Setting next fields of discovered |
2268 // lists requires a barrier. |
2268 // lists does not require a barrier. |
2269 } |
2269 } |
2270 |
2270 |
2271 size_t G1CollectedHeap::capacity() const { |
2271 size_t G1CollectedHeap::capacity() const { |
2272 return _g1_committed.byte_size(); |
2272 return _g1_committed.byte_size(); |
2273 } |
2273 } |