--- old/src/hotspot/share/gc/g1/g1ConcurrentMark.hpp 2020-07-07 10:35:52.507093338 +0200 +++ new/src/hotspot/share/gc/g1/g1ConcurrentMark.hpp 2020-07-07 10:35:52.403091504 +0200 @@ -220,8 +220,8 @@ // roots wrt to the marking. They must be scanned before marking to maintain the // SATB invariant. // Typically they contain the areas from nTAMS to top of the regions. -// We could scan and mark through these objects during the initial-mark pause, but for -// pause time reasons we move this work to the concurrent phase. +// We could scan and mark through these objects during the concurrent start pause, +// but for pause time reasons we move this work to the concurrent phase. // We need to complete this procedure before the next GC because it might determine // that some of these "root objects" are dead, potentially dropping some required // references. @@ -384,7 +384,7 @@ void clear_statistics(HeapRegion* r); // Resets the global marking data structures, as well as the - // task local ones; should be called during initial mark. + // task local ones; should be called during concurrent start. void reset(); // Resets all the marking data structures. Called when we have to restart @@ -435,7 +435,7 @@ // Returns the task with the given id G1CMTask* task(uint id) { - // During initial mark we use the parallel gc threads to do some work, so + // During concurrent start we use the parallel gc threads to do some work, so // we can only compare against _max_num_tasks. assert(id < _max_num_tasks, "Task id %u not within bounds up to %u", id, _max_num_tasks); return _tasks[id]; @@ -541,9 +541,9 @@ void clear_prev_bitmap(WorkGang* workers); // These two methods do the work that needs to be done at the start and end of the - // initial mark pause. - void pre_initial_mark(); - void post_initial_mark(); + // concurrent start pause. + void pre_concurrent_start(); + void post_concurrent_start(); // Scan all the root regions and mark everything reachable from // them.