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 |
24 |
25 # include "incls/_precompiled.incl" |
25 #include "precompiled.hpp" |
26 # include "incls/_dirtyCardQueue.cpp.incl" |
26 #include "gc_implementation/g1/dirtyCardQueue.hpp" |
|
27 #include "gc_implementation/g1/heapRegionRemSet.hpp" |
|
28 #include "runtime/atomic.hpp" |
|
29 #include "runtime/mutexLocker.hpp" |
|
30 #include "runtime/safepoint.hpp" |
|
31 #include "runtime/thread.hpp" |
|
32 #include "utilities/workgroup.hpp" |
|
33 #ifdef TARGET_OS_FAMILY_linux |
|
34 # include "thread_linux.inline.hpp" |
|
35 #endif |
|
36 #ifdef TARGET_OS_FAMILY_solaris |
|
37 # include "thread_solaris.inline.hpp" |
|
38 #endif |
|
39 #ifdef TARGET_OS_FAMILY_windows |
|
40 # include "thread_windows.inline.hpp" |
|
41 #endif |
27 |
42 |
28 bool DirtyCardQueue::apply_closure(CardTableEntryClosure* cl, |
43 bool DirtyCardQueue::apply_closure(CardTableEntryClosure* cl, |
29 bool consume, |
44 bool consume, |
30 size_t worker_i) { |
45 size_t worker_i) { |
31 bool res = true; |
46 bool res = true; |