< prev index next >

src/hotspot/share/gc/g1/g1ConcurrentMarkThread.hpp

Print this page
rev 59911 : [mq]: refactor-concurrentmarkthread

*** 39,57 **** double _vtime_accum; // Accumulated virtual time. double _vtime_mark_accum; G1ConcurrentMark* _cm; ! enum State { Idle, Started, InProgress }; ! volatile State _state; ! void sleep_before_next_cycle(); // Delay marking to meet MMU. void delay_to_keep_mmu(G1Policy* g1_policy, bool remark); double mmu_delay_end(G1Policy* g1_policy, bool remark); void run_service(); --- 39,62 ---- double _vtime_accum; // Accumulated virtual time. double _vtime_mark_accum; G1ConcurrentMark* _cm; ! enum ServiceState { Idle, Started, InProgress }; ! volatile ServiceState _state; ! // Wait for next cycle. Returns true if we should stop the service. ! bool wait_for_next_cycle(); ! void run_cycle(); ! ! void concurrent_cycle_start(); ! void concurrent_cycle_end(); // Delay marking to meet MMU. void delay_to_keep_mmu(G1Policy* g1_policy, bool remark); double mmu_delay_end(G1Policy* g1_policy, bool remark); void run_service();
< prev index next >