Mercurial > hg > graal-jvmci-8
diff src/share/vm/memory/resourceArea.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 | 716c64bda5ba |
children | dbc0b5dc08f5 |
line wrap: on
line diff
--- a/src/share/vm/memory/resourceArea.hpp Tue Nov 27 10:13:20 2012 +0100 +++ b/src/share/vm/memory/resourceArea.hpp Tue Nov 27 14:20:21 2012 +0100 @@ -26,18 +26,7 @@ #define SHARE_VM_MEMORY_RESOURCEAREA_HPP #include "memory/allocation.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 +#include "runtime/thread.inline.hpp" // The resource area holds temporary data structures in the VM. // The actual allocation areas are thread local. Typical usage: