basho/riak_core — pull request #130 by slfritchie (2011-12-24 06:37:14+00:00)
Title: 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.