Mercurial > hg > truffle
diff src/share/vm/runtime/java.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 | a1b8cf9cf970 |
children | 291ffc492eb6 e0cf9af8978e 9deda4d8e126 |
line wrap: on
line diff
--- a/src/share/vm/runtime/java.cpp Tue Nov 27 10:13:20 2012 +0100 +++ b/src/share/vm/runtime/java.cpp Tue Nov 27 14:20:21 2012 +0100 @@ -54,6 +54,7 @@ #include "runtime/sharedRuntime.hpp" #include "runtime/statSampler.hpp" #include "runtime/task.hpp" +#include "runtime/thread.inline.hpp" #include "runtime/timer.hpp" #include "runtime/vm_operations.hpp" #include "services/memReporter.hpp" @@ -79,18 +80,6 @@ #ifdef TARGET_ARCH_ppc # include "vm_version_ppc.hpp" #endif -#ifdef TARGET_OS_FAMILY_linux -# include "thread_linux.inline.hpp" -#endif -#ifdef TARGET_OS_FAMILY_solaris -# include "thread_solaris.inline.hpp" -#endif -#ifdef TARGET_OS_FAMILY_windows -# include "thread_windows.inline.hpp" -#endif -#ifdef TARGET_OS_FAMILY_bsd -# include "thread_bsd.inline.hpp" -#endif #ifndef SERIALGC #include "gc_implementation/concurrentMarkSweep/concurrentMarkSweepThread.hpp" #include "gc_implementation/parallelScavenge/psScavenge.hpp"