Why does the java8 GC not collect for over 11 hours?

后端 未结 3 1556
我在风中等你
我在风中等你 2020-12-20 06:58

Context: 64 bit Oracle Java SE 1.8.0_20-b26

For over 11 hours, my running java8 app has been accumulating objects in the Tenured generation (close t

3条回答
  •  旧巷少年郎
    2020-12-20 07:46

    This is a fully expected and desirable behavior. The JVM has been successfully avoiding a Major GC by performing timely Minor GC's all along. A Minor GC, by definition, does not touch the Tenured Generation, and the key idea behind generational garbage collectors is that precisely this pattern will emerge.

    You should be very satisfied with how your application is humming along.

提交回复
热议问题