While G1 GC is designed for adaptive memory management, dynamic heap resizing (when -Xms differs from -Xmx) can still introduce overhead. Heap expansion or contraction can lead to longer mixed GCs or even full GCs under high memory pressure, potentially hindering G1's ability to consistently meet pause-time goals in ML applications.