comparison src/share/vm/utilities/growableArray.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/growableArray.hpp" 28 #include "utilities/growableArray.hpp"
28 #ifdef TARGET_OS_FAMILY_linux 29
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 #ifdef ASSERT 30 #ifdef ASSERT
41 void GenericGrowableArray::set_nesting() { 31 void GenericGrowableArray::set_nesting() {
42 if (on_stack()) { 32 if (on_stack()) {
43 _nesting = Thread::current()->resource_area()->nesting(); 33 _nesting = Thread::current()->resource_area()->nesting();
44 } 34 }