Java G1 garbage collection in production

后端 未结 16 1955
借酒劲吻你
借酒劲吻你 2020-11-28 18:41

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\" G

16条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-11-28 19:04

    CMS can lead to slowly degraded performance even if you are running it without accumulating tenured objects. This is because of memory fragmentation which G1 supposedly avoids.

    The myth about G1 available only with paid support is just that, a myth. Sun and now Oracle have clarified this on the JDK page.

提交回复
热议问题