Robert Stupp created CASSANDRA-12342:
----------------------------------------
Summary: 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)