You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Robert Stupp (JIRA)" <ji...@apache.org> on 2016/07/30 08:09:20 UTC
[jira] [Updated] (CASSANDRA-12342) CLibrary improvements
[ https://issues.apache.org/jira/browse/CASSANDRA-12342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Stupp updated CASSANDRA-12342:
-------------------------------------
Status: Patch Available (was: Open)
> CLibrary improvements
> ---------------------
>
> Key: CASSANDRA-12342
> URL: https://issues.apache.org/jira/browse/CASSANDRA-12342
> Project: Cassandra
> Issue Type: Improvement
> Reporter: Robert Stupp
> Assignee: Robert Stupp
> Priority: Minor
> Fix For: 3.x
>
>
> {{CLibrary}} uses {{FBUtilities.getProtectedField}} for each invocation of {{getfd}} - i.e. {{Class.getDeclaredField}} + {{Field.setAccessible}}. Linked patch migrates these {{Field}} references to static class fields + adds constants for the OS. Also adds a tiny optimization for non-linux OSs in {{trySync}}.
> ||trunk|[branch|https://github.com/apache/cassandra/compare/trunk...snazy:CLibrary-opts]|[testall|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-CLibrary-opts-testall/lastSuccessfulBuild/]|[dtest|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-CLibrary-opts-dtest/lastSuccessfulBuild/]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)