Alexey Serbin has uploaded this change for review. (
http://gerrit.cloudera.org:8080/23820
Change subject: [codegen] relax memory ordering for metric updates
......................................................................
[codegen] relax memory ordering for metric updates
Since 'code_cache_hits' and 'code_cache_queries' are used as metric
gauges only and aren't consumed in any way that would require strong
consistency guarantees, it makes sense to switch from the
'memory_order_seq_cst' to the 'memory_order_relaxed' when updating
the underlying '{hit,query}_counter_' atomic counters.
Change-Id: Id874786ff5c6f83c1b84b747064808e2d939d3fb
---
M src/kudu/codegen/compilation_manager.cc
1 file changed, 9 insertions(+), 8 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/20/23820/1
--
To view, visit http://gerrit.cloudera.org:8080/23820
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id874786ff5c6f83c1b84b747064808e2d939d3fb
Gerrit-Change-Number: 23820
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>