一部分内存占用的标记工作移到了具体业务线程进入/退出时
虽然总开销可能增加但是不会全局STW了
【 在 z16166 (Netguy) 的大作中提到: 】
: GC pause times do not increase with heap or live-set size
:
http://cr.openjdk.java.net/~pliden/slides/ZGC-FOSDEM-2018.pdf: Starting with JDK 16, I’m happy to report that we’ve reached that goal too. ZGC now has O(1) pause times. In other words, they execute in constant time and do not increase with the heap, live-set, or root-set size (or anything else for that matter)
: ...................
--
FROM 180.173.1.*