Java G1 garbage collection in production

后端 未结 16 1883
借酒劲吻你
借酒劲吻你 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:01

    The G1 collector reduces the impact of full collections. If you have an application where you have already reduced the need for full collections, the Concurrent map Sweep collector is just as good and in my experience has shorter minor collection times.

提交回复
热议问题