| JDK 18 | 
|---|
| 18 b13Fixed | 
| Relates :   | |
| Relates :   | |
| Relates :   | 
During initial mark, in G1ConcurrentMark::checkpointRootsInitialPre() G1 iterates over all regions to set the next tams pointer to top. On heaps with many regions 20k+ this can take a while, as this phase is single-threaded.
| 
 |