Other |
---|
tbdUnresolved |
Relates :
|
|
Relates :
|
After G1 stops concurrent threads during VM shutdown, particularly during concurrent clear bitmap, data structures may be in an inconsistent state: The bitmap still contains marks but the concurrent cycle state is indicated as idle. This means that some code relying on that consistency (basically that the bitmap is clear) needs to take extra precaution about this - JDK-8291725 and JDK-8274007 are the cases for young gc and full gc respectively where this issue cropped up. ZGC, instead of trying to take care of this problem during GC, just stalls the java threads that want to allocate at that time. Investigate whether stalling allocating threads that would otherwise cause a (GC) safepoint would be possible/reasonable for G1 too.