35 # include "thread_solaris.inline.hpp" |
35 # include "thread_solaris.inline.hpp" |
36 #endif |
36 #endif |
37 #ifdef TARGET_OS_FAMILY_windows |
37 #ifdef TARGET_OS_FAMILY_windows |
38 # include "os_windows.inline.hpp" |
38 # include "os_windows.inline.hpp" |
39 # include "thread_windows.inline.hpp" |
39 # include "thread_windows.inline.hpp" |
|
40 #endif |
|
41 #ifdef TARGET_OS_FAMILY_bsd |
|
42 # include "os_bsd.inline.hpp" |
|
43 # include "thread_bsd.inline.hpp" |
40 #endif |
44 #endif |
41 |
45 |
42 #ifdef ASSERT |
46 #ifdef ASSERT |
43 oop* HandleArea::allocate_handle(oop obj) { |
47 oop* HandleArea::allocate_handle(oop obj) { |
44 assert(_handle_mark_nesting > 1, "memory leak: allocating handle outside HandleMark"); |
48 assert(_handle_mark_nesting > 1, "memory leak: allocating handle outside HandleMark"); |