equal
deleted
inserted
replaced
27 |
27 |
28 #include "gc_interface/collectedHeap.hpp" |
28 #include "gc_interface/collectedHeap.hpp" |
29 #include "memory/genCollectedHeap.hpp" |
29 #include "memory/genCollectedHeap.hpp" |
30 #include "memory/universe.hpp" |
30 #include "memory/universe.hpp" |
31 #include "oops/oop.hpp" |
31 #include "oops/oop.hpp" |
32 #include "runtime/thread.inline.hpp" |
|
33 #ifdef TARGET_OS_FAMILY_linux |
|
34 # include "os_linux.inline.hpp" |
|
35 #endif |
|
36 #ifdef TARGET_OS_FAMILY_solaris |
|
37 # include "os_solaris.inline.hpp" |
|
38 #endif |
|
39 #ifdef TARGET_OS_FAMILY_windows |
|
40 # include "os_windows.inline.hpp" |
|
41 #endif |
|
42 #ifdef TARGET_OS_FAMILY_bsd |
|
43 # include "os_bsd.inline.hpp" |
|
44 #endif |
|
45 |
32 |
46 // The direct lock/unlock calls do not force a collection if an unlock |
33 // The direct lock/unlock calls do not force a collection if an unlock |
47 // decrements the count to zero. Avoid calling these if at all possible. |
34 // decrements the count to zero. Avoid calling these if at all possible. |
48 |
35 |
49 class GC_locker: public AllStatic { |
36 class GC_locker: public AllStatic { |