You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2015/09/28 16:32:04 UTC
[jira] [Commented] (CASSANDRA-10379) Consider using
-XX:+TrustFinalNonStaticFields
[ https://issues.apache.org/jira/browse/CASSANDRA-10379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14933365#comment-14933365 ]
Jonathan Ellis commented on CASSANDRA-10379:
--------------------------------------------
Sounds reasonable. AFAIK we're not doing any reflection tricks to defeat final-ness.
I found this thread on the flag, FWIW: http://mail.openjdk.java.net/pipermail/hotspot-compiler-dev/2015-April/017698.html
> Consider using -XX:+TrustFinalNonStaticFields
> ---------------------------------------------
>
> Key: CASSANDRA-10379
> URL: https://issues.apache.org/jira/browse/CASSANDRA-10379
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Robert Stupp
> Fix For: 3.x
>
>
> The JVM option {{-XX:+TrustFinalNonStaticFields}}, although experimental, seems to improve performance a bit without any code change. Therefore I propose to include it in {{cassandra-env.sh/psl}}.
> [cstar perf benchmark|http://cstar.datastax.com/graph?stats=a6e75018-5ff4-11e5-bf84-42010af0688f&metric=op_rate&operation=1_user&smoothing=1&show_aggregates=true&xmin=0&xmax=865.59&ymin=0&ymax=145568.5]
> The cstar test was run with 8u45.
> {noformat}
> JVM_OPTS="$JVM_OPTS -XX:+UnlockExperimentalVMOptions"
> JVM_OPTS="$JVM_OPTS -XX:+TrustFinalNonStaticFields"
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)