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(); |