diff src/share/vm/runtime/interfaceSupport.hpp @ 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 b9a9ed0f8eeb
children 9758d9f36299 bdd155477289
line wrap: on
line diff
--- a/src/share/vm/runtime/interfaceSupport.hpp	Tue Nov 27 10:13:20 2012 +0100
+++ b/src/share/vm/runtime/interfaceSupport.hpp	Tue Nov 27 14:20:21 2012 +0100
@@ -31,22 +31,11 @@
 #include "runtime/orderAccess.hpp"
 #include "runtime/os.hpp"
 #include "runtime/safepoint.hpp"
+#include "runtime/thread.inline.hpp"
 #include "runtime/vmThread.hpp"
 #include "utilities/globalDefinitions.hpp"
 #include "utilities/preserveException.hpp"
 #include "utilities/top.hpp"
-#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
 
 // Wrapper for all entry points to the virtual machine.
 // The HandleMarkCleaner is a faster version of HandleMark.