cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10379) Consider using -XX:+TrustFinalNonStaticFields
Date Sun, 17 Jan 2016 12:02:39 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-10379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15103674#comment-15103674
] 

Robert Stupp commented on CASSANDRA-10379:
------------------------------------------

Also: https://bugs.openjdk.java.net/browse/JDK-8140483 (Java 9 + backported to 8u76) adds
that proper {{final}} field for {{Atomic*FieldUpdater}} classes (so even without this command
line switch).

> Consider using -XX:+TrustFinalNonStaticFields
> ---------------------------------------------
>
>                 Key: CASSANDRA-10379
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10379
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Robert Stupp
>            Assignee: Robert Stupp
>             Fix For: 3.x
>
>         Attachments: 10379.txt
>
>
> 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)

Mime
View raw message