[ https://issues.apache.org/jira/browse/CASSANDRA-15839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17152954#comment-17152954 ]
David Capwell commented on CASSANDRA-15839: ------------------------------------------- BTW the check for USING_G1 doesn't handle the case where you disable g1gc. In a test with -Xmn defined and -XX:-UseG1GC, the following error stops C* from starting {code} +++ echo 'It is not recommended to set -Xmn with the G1 garbage collector. See comments for -Xmn in jvm-server.options for details.' It is not recommended to set -Xmn with the G1 garbage collector. See comments for -Xmn in jvm-server.options for details. +++ exit 1 {code} > Warn or fail to start server when G1 is used and Xmn is set > ----------------------------------------------------------- > > Key: CASSANDRA-15839 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15839 > Project: Cassandra > Issue Type: Improvement > Components: Local/Startup and Shutdown > Reporter: Jeremy Hanna > Assignee: Anthony Grasso > Priority: Normal > Fix For: 4.0, 4.0-alpha5 > > > In jvm.options, we currently have a comment above where Xmn is set that says > that you shouldn't set Xmn with G1 GC. That isn't enough - we should either > warn in the logs or fail startup when they are set together. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org