Young , Tenured and Perm generation

前端 未结 4 590
南方客
南方客 2020-12-07 09:29

I\'m confused with Heap,Young,Tenured and Perm generation.

Could anyone please explain?

4条回答
  •  佛祖请我去吃肉
    2020-12-07 09:46

    Here's another excellent (though long) article on how to tune/size your GC parameters, which may help you understand even more:

    https://docs.oracle.com/javase/8/docs/technotes/guides/vm/gctuning/

    A very useful read if you're having GC issues and need to know how to read GC logs, or need to understand how your current GC collector works.

    If you want to hook up remote monitoring of a running system to see realtime memory usage and GC runs check this tool out:

    http://java.sun.com/performance/jvmstat/visualgc.html

提交回复
热议问题