8190711: Assert in G1MMUTracker due to concurrent modification

Reviewed-by: tschatzl, rehn, sangheki
This commit is contained in:
Stefan Johansson 2017-11-09 10:11:19 +01:00
parent 02b4fc7985
commit 09c2ca5809
2 changed files with 0 additions and 13 deletions

View File

@ -112,18 +112,7 @@ void G1MMUTrackerQueue::add_pause(double start, double end) {
}
}
// basically the _internal call does not remove expired entries
// this is for trying things out in the future and a couple
// of other places (debugging)
double G1MMUTrackerQueue::when_sec(double current_time, double pause_time) {
remove_expired_entries(current_time);
return when_internal(current_time, pause_time);
}
double G1MMUTrackerQueue::when_internal(double current_time,
double pause_time) {
// if the pause is over the maximum, just assume that it's the maximum
double adjusted_pause_time =
(pause_time > max_gc_time()) ? max_gc_time() : pause_time;

View File

@ -134,8 +134,6 @@ private:
void remove_expired_entries(double current_time);
double calculate_gc_time(double current_time);
double when_internal(double current_time, double pause_time);
public:
G1MMUTrackerQueue(double time_slice, double max_gc_time);