comparison src/share/vm/utilities/array.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 b9a9ed0f8eeb
children
comparison
equal deleted inserted replaced
7179:d0aa87f04bd5 7180:f34d701e952e
22 * 22 *
23 */ 23 */
24 24
25 #include "precompiled.hpp" 25 #include "precompiled.hpp"
26 #include "memory/resourceArea.hpp" 26 #include "memory/resourceArea.hpp"
27 #include "runtime/thread.inline.hpp"
27 #include "utilities/array.hpp" 28 #include "utilities/array.hpp"
28 #ifdef TARGET_OS_FAMILY_linux
29 # include "thread_linux.inline.hpp"
30 #endif
31 #ifdef TARGET_OS_FAMILY_solaris
32 # include "thread_solaris.inline.hpp"
33 #endif
34 #ifdef TARGET_OS_FAMILY_windows
35 # include "thread_windows.inline.hpp"
36 #endif
37 #ifdef TARGET_OS_FAMILY_bsd
38 # include "thread_bsd.inline.hpp"
39 #endif
40 29
41 30
42 #ifdef ASSERT 31 #ifdef ASSERT
43 void ResourceArray::init_nesting() { 32 void ResourceArray::init_nesting() {
44 _nesting = Thread::current()->resource_area()->nesting(); 33 _nesting = Thread::current()->resource_area()->nesting();