Unrecognized VM option 'UseParNewGC' , Error: Could not create the Java Virtual Machine

Deadly 提交于 2019-12-01 02:53:58
Peter Lawrey

This collectors was deprecated in JDK 9 and removed in JDK 10.

https://bugs.openjdk.java.net/browse/JDK-8151084

The new default is the G1 collector and I suggest you see if that suits your needs.

A follow up to Peter's answer, the flag is

-XX:+UseG1GC

as described at Oracle

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!