osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GitHub] activemq-artemis pull request #2328: ARTEMIS-2095 - Typed Properties ThreadS...


GitHub user michaelandrepearce opened a pull request:

    https://github.com/apache/activemq-artemis/pull/2328

    ARTEMIS-2095 - Typed Properties ThreadSafety

    Add Concurrency Test to expose concurrency errors seen in logs.
    Add Fix to ensure TypedProperties to ensure threadsafety
    Use StampedLock instead of synchronized for better performance where single thread access (or low contention) - similar to its use in ConcurrentLongHashMap.Section

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/michaelandrepearce/activemq-artemis ARTEMIS-2095

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/2328.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2328
    
----
commit f2dcfba4e86c2699964294ba77e59f58d5c49a23
Author: Michael André Pearce <michael.andre.pearce@...>
Date:   2018-09-25T08:50:53Z

    ARTEMIS-2095 - Typed Properties ThreadSafety
    
    Add Concurrency Test to expose concurrency errors seen in logs.
    Add Fix to ensure TypedProperties to ensure threadsafety
    Use StampedLock instead of synchronized for better performance where single thread access (or low contention) - similar to its use in ConcurrentLongHashMap.Section

----


---