equal
deleted
inserted
replaced
27 #include "gc_implementation/concurrentMarkSweep/freeChunk.hpp" |
27 #include "gc_implementation/concurrentMarkSweep/freeChunk.hpp" |
28 #endif // SERIALGC |
28 #endif // SERIALGC |
29 #include "memory/freeBlockDictionary.hpp" |
29 #include "memory/freeBlockDictionary.hpp" |
30 #include "memory/metablock.hpp" |
30 #include "memory/metablock.hpp" |
31 #include "memory/metachunk.hpp" |
31 #include "memory/metachunk.hpp" |
32 #ifdef TARGET_OS_FAMILY_linux |
32 #include "runtime/thread.inline.hpp" |
33 # include "thread_linux.inline.hpp" |
|
34 #endif |
|
35 #ifdef TARGET_OS_FAMILY_solaris |
|
36 # include "thread_solaris.inline.hpp" |
|
37 #endif |
|
38 #ifdef TARGET_OS_FAMILY_windows |
|
39 # include "thread_windows.inline.hpp" |
|
40 #endif |
|
41 #ifdef TARGET_OS_FAMILY_bsd |
|
42 # include "thread_bsd.inline.hpp" |
|
43 #endif |
|
44 |
33 |
45 #ifndef PRODUCT |
34 #ifndef PRODUCT |
46 template <class Chunk> Mutex* FreeBlockDictionary<Chunk>::par_lock() const { |
35 template <class Chunk> Mutex* FreeBlockDictionary<Chunk>::par_lock() const { |
47 return _lock; |
36 return _lock; |
48 } |
37 } |