comparison 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
comparison
equal deleted inserted replaced
7179:d0aa87f04bd5 7180:f34d701e952e
24 24
25 #ifndef SHARE_VM_MEMORY_RESOURCEAREA_HPP 25 #ifndef SHARE_VM_MEMORY_RESOURCEAREA_HPP
26 #define SHARE_VM_MEMORY_RESOURCEAREA_HPP 26 #define SHARE_VM_MEMORY_RESOURCEAREA_HPP
27 27
28 #include "memory/allocation.hpp" 28 #include "memory/allocation.hpp"
29 #ifdef TARGET_OS_FAMILY_linux 29 #include "runtime/thread.inline.hpp"
30 # include "thread_linux.inline.hpp"
31 #endif
32 #ifdef TARGET_OS_FAMILY_solaris
33 # include "thread_solaris.inline.hpp"
34 #endif
35 #ifdef TARGET_OS_FAMILY_windows
36 # include "thread_windows.inline.hpp"
37 #endif
38 #ifdef TARGET_OS_FAMILY_bsd
39 # include "thread_bsd.inline.hpp"
40 #endif
41 30
42 // The resource area holds temporary data structures in the VM. 31 // The resource area holds temporary data structures in the VM.
43 // The actual allocation areas are thread local. Typical usage: 32 // The actual allocation areas are thread local. Typical usage:
44 // 33 //
45 // ... 34 // ...