< prev index next >
src/hotspot/share/gc/g1/g1YoungRemSetSamplingThread.hpp
Print this page
rev 52192 : imported patch jelastic-pgc
*** 41,58 ****
// increase the young gen size to keep pause time length goal.
class G1YoungRemSetSamplingThread: public ConcurrentGCThread {
private:
Monitor _monitor;
void sample_young_list_rs_lengths();
void run_service();
void stop_service();
void sleep_before_next_cycle();
! double _vtime_accum; // Accumulated virtual time.
public:
G1YoungRemSetSamplingThread();
double vtime_accum() { return _vtime_accum; }
};
--- 41,62 ----
// increase the young gen size to keep pause time length goal.
class G1YoungRemSetSamplingThread: public ConcurrentGCThread {
private:
Monitor _monitor;
+ double _last_periodic_gc_attempt_s;
+
+ double _vtime_accum; // Accumulated virtual time.
+
void sample_young_list_rs_lengths();
void run_service();
void stop_service();
void sleep_before_next_cycle();
! bool should_start_periodic_gc();
public:
G1YoungRemSetSamplingThread();
double vtime_accum() { return _vtime_accum; }
};
< prev index next >