[ https://issues.apache.org/jira/browse/CASSANDRA-14883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16689176#comment-16689176 ]
Lee Sangboo commented on CASSANDRA-14883: ----------------------------------------- openj9 can edit executable jamm.jar and paste. {code:java} // MemoryLayoutSpecification.java 191 line final String strSpecVersion = System.getProperty("java.specification.version"); final boolean hasDot = strSpecVersion.indexOf('.') != -1; if (hasDot) { if ("1".equals(strSpecVersion.substring(0, strSpecVersion.indexOf('.')))) { // Java 1.6, 1.7, 1.8 final String strVmVersion = System.getProperty("java.vm.version"); System.out.println("JAMM JAVA VERSION = " + strVmVersion); if(strVmVersion.startsWith("openj")) { modernJvm = true; }else { final int vmVersion = Integer.parseInt(strVmVersion.substring(0, strVmVersion.indexOf('.'))); modernJvm = vmVersion >= 17; }; } } {code} > Let Cassandra support the new JVM, Eclipse Openj9. > -------------------------------------------------- > > Key: CASSANDRA-14883 > URL: https://issues.apache.org/jira/browse/CASSANDRA-14883 > Project: Cassandra > Issue Type: Improvement > Components: 4.0, Packaging > Environment: jdk8u192-b12_openj9-0.11.0 > cassandra 4.0.0_beta_20181109_build > Reporter: Lee Sangboo > Priority: Major > Fix For: 4.0.x > > Attachments: jamm-0.3.2.jar, jamm.zip > > > Cassandra does not currently support the new JVM, Eclipse Openj9. In internal > testing, Openj9 outperforms Hotspot. I have deployed a modified jamm library > that has a problem with the current startup, but when I started Cassandra, I > got a log message saying "Non-Oracle JVM detected." Some features, such as > unimported compact SSTables, may not work as intended "If there is no > problem, I would also like to delete the above message. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org