Mercurial > hg > graal-jvmci-8
comparison src/share/vm/memory/genMarkSweep.cpp @ 7180:f34d701e952e
8003935: Simplify the needed includes for using Thread::current()
Reviewed-by: dholmes, rbackman, coleenp
author | stefank |
---|---|
date | Tue, 27 Nov 2012 14:20:21 +0100 |
parents | 8966c2d65d96 |
children | b735136e0d82 |
comparison
equal
deleted
inserted
replaced
7179:d0aa87f04bd5 | 7180:f34d701e952e |
---|---|
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 |