< prev index next >

src/share/vm/gc/g1/g1DefaultPolicy.cpp

Print this page
rev 13332 : [mq]: webrev.4

*** 45,55 **** #include "runtime/mutexLocker.hpp" #include "utilities/debug.hpp" #include "utilities/growableArray.hpp" #include "utilities/pair.hpp" ! G1DefaultPolicy::G1DefaultPolicy() : _predictor(G1ConfidencePercent / 100.0), _analytics(new G1Analytics(&_predictor)), _mmu_tracker(new G1MMUTrackerQueue(GCPauseIntervalMillis / 1000.0, MaxGCPauseMillis / 1000.0)), _ihop_control(create_ihop_control(&_predictor)), _policy_counters(new GCPolicyCounters("GarbageFirst", 1, 3)), --- 45,55 ---- #include "runtime/mutexLocker.hpp" #include "utilities/debug.hpp" #include "utilities/growableArray.hpp" #include "utilities/pair.hpp" ! G1DefaultPolicy::G1DefaultPolicy(STWGCTimer* gc_timer) : _predictor(G1ConfidencePercent / 100.0), _analytics(new G1Analytics(&_predictor)), _mmu_tracker(new G1MMUTrackerQueue(GCPauseIntervalMillis / 1000.0, MaxGCPauseMillis / 1000.0)), _ihop_control(create_ihop_control(&_predictor)), _policy_counters(new GCPolicyCounters("GarbageFirst", 1, 3)),
*** 61,71 **** _rs_lengths_prediction(0), _bytes_allocated_in_old_since_last_gc(0), _initial_mark_to_mixed(), _collection_set(NULL), _g1(NULL), ! _phase_times(new G1GCPhaseTimes(ParallelGCThreads)), _tenuring_threshold(MaxTenuringThreshold), _max_survivor_regions(0), _survivors_age_table(true), _collection_pause_end_millis(os::javaTimeNanos() / NANOSECS_PER_MILLISEC) { } --- 61,71 ---- _rs_lengths_prediction(0), _bytes_allocated_in_old_since_last_gc(0), _initial_mark_to_mixed(), _collection_set(NULL), _g1(NULL), ! _phase_times(new G1GCPhaseTimes(gc_timer, ParallelGCThreads)), _tenuring_threshold(MaxTenuringThreshold), _max_survivor_regions(0), _survivors_age_table(true), _collection_pause_end_millis(os::javaTimeNanos() / NANOSECS_PER_MILLISEC) { }
< prev index next >