Bug#925928: tomcat9: Error occurred during initialization of VM: Option -XX:+UseG1GC not supported
Thorsten Glaser
t.glaser at tarent.de
Fri Mar 29 12:43:38 GMT 2019
Emmanuel Bourg dixit:
>Indeed, but running Tomcat on Zero is not a good idea anyway.
;-)
In the end, we give users rope. Whether they hang themselves
with it or use it to climb a rock is up to them. (Having the
*ability* to do it, even if it's not *generally* a good idea,
may be worth something. For some use cases, speed might not
matter as much.)
>G1 is the default GC pour Java 9+, so the command line option is only
>really useful for Java 8.
Ah, okay. And the default will be 11 in buster anyway.
>openjdk-11-jre-zero is currently available for amd64, i386, arm64,
>armhf, ppc64, ppc64el, s390x and sparc64. So Zero is the default VM
>for alpha, armel, m68k, mips*, sh4 and x32.
OK, and armel and mips are release architectures at least.
Otherwise this could have easily waited until after JRE 8
was removed.
>Let's remove the -XX:+UseG1GC option, with a comment in the template
>file suggesting to use a better GC if running with Java 8.
OK, will do.
Thanks,
//mirabilos
--
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
More information about the pkg-java-maintainers
mailing list