Difference between -XX:+UseParallelGC and -XX:+UseParNewGC

后端 未结 4 1445
悲&欢浪女
悲&欢浪女 2020-12-22 15:27

They are algorithms for the young generation garbage collection.

The second one (UseParNewGC) gets activated automatically with the concurrent tenured generation ga

4条回答
  •  青春惊慌失措
    2020-12-22 16:06

    UseParNewGC usually knowns as "parallel young generation collector" is same in all ways as the parallel garbage collector (-XX:+UseParallelGC), except that its more sophiscated and effiecient. Also it can be used with a "concurrent low pause collector".

    See Java GC FAQ, question 22 for more information.

    Note that there are some known bugs with UseParNewGC

提交回复
热议问题