correct and/or confusion
merge bug25378 into stable
merge stable into default
tweak logging
merge bug24407 into default
refactor queue initialisation
- get rid of all the 'undefined' setting, since that's the default
- extract commonality of state initialisation
optimisation: shrink gen_server2 state slightly
for a (very) modest performance gain, and slightly neater code
refactor gen_server2 debug handling
- more uniformity
- less code duplication
- less closure creation -> performance increase
optimisation: improve performance of permission cache
Don't update the cache when the permission is already in it. This
saves list munching and a 'put' at the expense of no longer being
strictly LRU, but that only affects pathological cases.
optimise rabbit_amqqueue:qpids/1 common case
common-case optimisations for delegate:invoke[_no_result]
optimise "route to no queues" path
optimise "no confirms" case of rabbit_amqqueue_process:discard
cosmetic
restrict previous optimisation, for better workingness
optimise rabbit_channel:ack/2
- moving the ?INCR_STATS call inside the fold_per_queue fun reduces
  consing when stats are disabled
- since this was the only call to fold_per_queue where we cared about
  the result, and we no longer do, we can switch the 'fold' to
  'foreach'
optimise ack collection
for the common case of ack'ing/reject'ing the oldest tag
Merge default