41 #include "oops/oop.inline.hpp" |
41 #include "oops/oop.inline.hpp" |
42 #include "prims/jvmtiExport.hpp" |
42 #include "prims/jvmtiExport.hpp" |
43 #include "runtime/fprofiler.hpp" |
43 #include "runtime/fprofiler.hpp" |
44 #include "runtime/handles.inline.hpp" |
44 #include "runtime/handles.inline.hpp" |
45 #include "runtime/synchronizer.hpp" |
45 #include "runtime/synchronizer.hpp" |
|
46 #include "runtime/thread.inline.hpp" |
46 #include "runtime/vmThread.hpp" |
47 #include "runtime/vmThread.hpp" |
47 #include "utilities/copy.hpp" |
48 #include "utilities/copy.hpp" |
48 #include "utilities/events.hpp" |
49 #include "utilities/events.hpp" |
49 #ifdef TARGET_OS_FAMILY_linux |
|
50 # include "thread_linux.inline.hpp" |
|
51 #endif |
|
52 #ifdef TARGET_OS_FAMILY_solaris |
|
53 # include "thread_solaris.inline.hpp" |
|
54 #endif |
|
55 #ifdef TARGET_OS_FAMILY_windows |
|
56 # include "thread_windows.inline.hpp" |
|
57 #endif |
|
58 #ifdef TARGET_OS_FAMILY_bsd |
|
59 # include "thread_bsd.inline.hpp" |
|
60 #endif |
|
61 |
50 |
62 void GenMarkSweep::invoke_at_safepoint(int level, ReferenceProcessor* rp, |
51 void GenMarkSweep::invoke_at_safepoint(int level, ReferenceProcessor* rp, |
63 bool clear_all_softrefs) { |
52 bool clear_all_softrefs) { |
64 assert(SafepointSynchronize::is_at_safepoint(), "must be at a safepoint"); |
53 assert(SafepointSynchronize::is_at_safepoint(), "must be at a safepoint"); |
65 |
54 |