activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARTEMIS-1664) fix npe bug while getting element in the process of rehash
Date Sat, 24 Feb 2018 21:02:00 GMT

    [ https://issues.apache.org/jira/browse/ARTEMIS-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16375771#comment-16375771
] 

ASF GitHub Bot commented on ARTEMIS-1664:
-----------------------------------------

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. 
    



> fix npe bug while getting element in the process of rehash
> ----------------------------------------------------------
>
>                 Key: ARTEMIS-1664
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1664
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>          Components: Broker
>    Affects Versions: 2.4.0
>            Reporter: yangwei
>            Priority: Major
>             Fix For: 2.5.0
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message