You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2019/07/10 01:57:57 UTC

[GitHub] [incubator-druid] pdeva commented on issue #8031: remove unnecessary synchronization overhead from complex Aggregators

pdeva commented on issue #8031: remove unnecessary synchronization overhead from complex Aggregators
URL: https://github.com/apache/incubator-druid/issues/8031#issuecomment-509876442
 
 
   Above benchmark doesn't take lock contention into account. The synchronized keyword has different performance characteristics based on how contended the lock is.
   
   The JIT will convert from thin to fat locks if the lock shows too much contention. 
   if the lock has no contention, the overhead of synchronized keyword is negligible, but not zero, which is indeed shown in the benchmark above.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org