equal
deleted
inserted
replaced
87 // so that cycles do not overlap. We cannot use just in_progress() |
87 // so that cycles do not overlap. We cannot use just in_progress() |
88 // as the CM thread might take some time to wake up before noticing |
88 // as the CM thread might take some time to wake up before noticing |
89 // that started() is set and set in_progress(). |
89 // that started() is set and set in_progress(). |
90 bool during_cycle() { return started() || in_progress(); } |
90 bool during_cycle() { return started() || in_progress(); } |
91 |
91 |
92 // Yield for GC |
|
93 void yield(); |
|
94 |
|
95 // shutdown |
92 // shutdown |
96 void stop(); |
93 void stop(); |
97 }; |
94 }; |
98 |
95 |
99 #endif // SHARE_VM_GC_IMPLEMENTATION_G1_CONCURRENTMARKTHREAD_HPP |
96 #endif // SHARE_VM_GC_IMPLEMENTATION_G1_CONCURRENTMARKTHREAD_HPP |