equal
deleted
inserted
replaced
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
20 * or visit www.oracle.com if you need additional information or have any |
20 * or visit www.oracle.com if you need additional information or have any |
21 * questions. |
21 * questions. |
22 * |
22 * |
23 */ |
23 */ |
|
24 |
|
25 #ifndef SHARE_VM_GC_IMPLEMENTATION_G1_G1REMSET_INLINE_HPP |
|
26 #define SHARE_VM_GC_IMPLEMENTATION_G1_G1REMSET_INLINE_HPP |
|
27 |
|
28 #include "gc_implementation/g1/g1RemSet.hpp" |
|
29 #include "gc_implementation/g1/heapRegionRemSet.hpp" |
|
30 #include "oops/oop.inline.hpp" |
24 |
31 |
25 inline size_t G1RemSet::n_workers() { |
32 inline size_t G1RemSet::n_workers() { |
26 if (_g1->workers() != NULL) { |
33 if (_g1->workers() != NULL) { |
27 return _g1->workers()->total_workers(); |
34 return _g1->workers()->total_workers(); |
28 } else { |
35 } else { |
143 _g1_rem_set->par_write_ref(_from, p, _worker_i); |
150 _g1_rem_set->par_write_ref(_from, p, _worker_i); |
144 } |
151 } |
145 } |
152 } |
146 } |
153 } |
147 |
154 |
|
155 |
|
156 #endif // SHARE_VM_GC_IMPLEMENTATION_G1_G1REMSET_INLINE_HPP |