forked from basho/riak_core
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge of slf-core-ets-match-replacement + hand-edits onto master.
Avoid use of ets:match() in hot code paths Profiling with DTrace on Solaris suggests that ets:match() is causing a much higher than necessary lock contention rate within the Erlang R14B03 and R14B04 VMs. Eliminating ets:match() in the riak_core and riak_kv applications is substantial when using Pthread locking instead of Ericsson's hand-tuned locking (which is the default). The results are more ambiguous when the default locking strategy is used. Hand-edits were required due to changes in master after the 1.0 branch was created.
- Loading branch information
1 parent
dbaebcc
commit 50b8ae6
Showing
2 changed files
with
51 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters