Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/ptrQueue.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 | cc32ccaaf47f |
comparison
equal
deleted
inserted
replaced
7179:d0aa87f04bd5 | 7180:f34d701e952e |
---|---|
26 #include "gc_implementation/g1/ptrQueue.hpp" | 26 #include "gc_implementation/g1/ptrQueue.hpp" |
27 #include "memory/allocation.hpp" | 27 #include "memory/allocation.hpp" |
28 #include "memory/allocation.inline.hpp" | 28 #include "memory/allocation.inline.hpp" |
29 #include "runtime/mutex.hpp" | 29 #include "runtime/mutex.hpp" |
30 #include "runtime/mutexLocker.hpp" | 30 #include "runtime/mutexLocker.hpp" |
31 #ifdef TARGET_OS_FAMILY_linux | 31 #include "runtime/thread.inline.hpp" |
32 # include "thread_linux.inline.hpp" | |
33 #endif | |
34 #ifdef TARGET_OS_FAMILY_solaris | |
35 # include "thread_solaris.inline.hpp" | |
36 #endif | |
37 #ifdef TARGET_OS_FAMILY_windows | |
38 # include "thread_windows.inline.hpp" | |
39 #endif | |
40 #ifdef TARGET_OS_FAMILY_bsd | |
41 # include "thread_bsd.inline.hpp" | |
42 #endif | |
43 | 32 |
44 PtrQueue::PtrQueue(PtrQueueSet* qset, bool perm, bool active) : | 33 PtrQueue::PtrQueue(PtrQueueSet* qset, bool perm, bool active) : |
45 _qset(qset), _buf(NULL), _index(0), _active(active), | 34 _qset(qset), _buf(NULL), _index(0), _active(active), |
46 _perm(perm), _lock(NULL) | 35 _perm(perm), _lock(NULL) |
47 {} | 36 {} |