Mercurial > hg > graal-jvmci-8
comparison src/share/vm/runtime/vmThread.hpp @ 7182:c24f778e9401
Merge
author | johnc |
---|---|
date | Thu, 29 Nov 2012 11:23:15 -0800 |
parents | f34d701e952e |
children | be0ac0e8f6e7 |
comparison
equal
deleted
inserted
replaced
7176:59c790074993 | 7182:c24f778e9401 |
---|---|
24 | 24 |
25 #ifndef SHARE_VM_RUNTIME_VMTHREAD_HPP | 25 #ifndef SHARE_VM_RUNTIME_VMTHREAD_HPP |
26 #define SHARE_VM_RUNTIME_VMTHREAD_HPP | 26 #define SHARE_VM_RUNTIME_VMTHREAD_HPP |
27 | 27 |
28 #include "runtime/perfData.hpp" | 28 #include "runtime/perfData.hpp" |
29 #include "runtime/thread.inline.hpp" | |
29 #include "runtime/vm_operations.hpp" | 30 #include "runtime/vm_operations.hpp" |
30 #ifdef TARGET_OS_FAMILY_linux | |
31 # include "thread_linux.inline.hpp" | |
32 #endif | |
33 #ifdef TARGET_OS_FAMILY_solaris | |
34 # include "thread_solaris.inline.hpp" | |
35 #endif | |
36 #ifdef TARGET_OS_FAMILY_windows | |
37 # include "thread_windows.inline.hpp" | |
38 #endif | |
39 #ifdef TARGET_OS_FAMILY_bsd | |
40 # include "thread_bsd.inline.hpp" | |
41 #endif | |
42 | 31 |
43 // | 32 // |
44 // Prioritized queue of VM operations. | 33 // Prioritized queue of VM operations. |
45 // | 34 // |
46 // Encapsulates both queue management and | 35 // Encapsulates both queue management and |
135 | 124 |
136 // Returns the single instance of VMThread. | 125 // Returns the single instance of VMThread. |
137 static VMThread* vm_thread() { return _vm_thread; } | 126 static VMThread* vm_thread() { return _vm_thread; } |
138 | 127 |
139 // GC support | 128 // GC support |
140 void oops_do(OopClosure* f, CodeBlobClosure* cf); | 129 void oops_do(OopClosure* f, CLDToOopClosure* cld_f, CodeBlobClosure* cf); |
141 | 130 |
142 // Debugging | 131 // Debugging |
143 void print_on(outputStream* st) const; | 132 void print_on(outputStream* st) const; |
144 void print() const { print_on(tty); } | 133 void print() const { print_on(tty); } |
145 void verify(); | 134 void verify(); |