Java G1垃圾收集在生产中(Java G1 garbage collection in production)
由于Java 7将默认使用新的G1垃圾收集器,因此Java将能够处理一个数量级更大的堆,而不会造成“毁灭性”的GC暂停时间? 有没有人在生产中实施了G1,你的经历是什么?
公平地说,唯一一次看到真正长时间停留的GC是非常大的堆,远远超过了一个工作站。 澄清我的问题 将G1打开网关堆数百GB? TB?
Since Java 7 is going to use the new G1 garbage collection by default is Java going to be able to handle an order of magnitude larger heap without supposed "devastating" GC pause times? Has anybody actually implemented G1 in production, what were your experiences?
To be fair the only time I have seen really long GC pauses is on very large heaps, much more than a workstation would have. To clarify my question; will G1 open the gateway to heaps in the hundreds of GB? TB?
原文:https://stackoverflow.com/questions/2254041