最佳答案
既然 Java 7将默认使用新的 g1垃圾收集,那么 Java 是否能够处理数量级更大的堆,而不需要假定的“毁灭性的”GC 暂停时间?有人在生产环境中实现过 G1吗? 你有什么经验?
公平地说,我见过的唯一一次真正长时间的 GC 暂停发生在非常大的堆上,比工作站要大得多。为了澄清我的问题; G1会打开数百 GB 的堆的网关吗?肺结核?