src/share/vm/gc_implementation/g1/concurrentMarkThread.hpp

changeset 6906
581e70386ec9
parent 3463
d30fa85f9994
child 7535
7ae4e26cb1e0
equal deleted inserted replaced
6905:fd81a5764900 6906:581e70386ec9
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

mercurial