Github user michaelandrepearce commented on the issue:

    https://github.com/apache/activemq-artemis/pull/1851
  
    @franz, agreed volatile hit is on the write wy96f only changed the capacity 
to be volatile and changed the order they’re set to fix a bug. this only 
changes when the map is resized not every put. (Note size was already volatile)
    
    As such it fixes the bug. If you , I or wy96f wants to further optimize 
that then that’s fine but I think that should be separate case to the 
functional bug. And obviously should be on its own merits. 
    



---

Reply via email to