You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2019/04/23 15:55:00 UTC
[jira] [Commented] (GEODE-6697) Reduce lock contention on system
property access in InternalDistributedMember.SHOW_NETMEMBER
[ https://issues.apache.org/jira/browse/GEODE-6697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16824275#comment-16824275 ]
ASF subversion and git services commented on GEODE-6697:
--------------------------------------------------------
Commit a6045e87e9b26d5f4f4d445424ff2299822c2817 in geode's branch refs/heads/develop from Jacob Barrett
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=a6045e8 ]
GEODE-6697: Make system property controlled variable static.
> Reduce lock contention on system property access in InternalDistributedMember.SHOW_NETMEMBER
> --------------------------------------------------------------------------------------------
>
> Key: GEODE-6697
> URL: https://issues.apache.org/jira/browse/GEODE-6697
> Project: Geode
> Issue Type: Improvement
> Reporter: Jacob S. Barrett
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> System properties are held in a HashTable, which is synchronized. For values that do not change at runtime, like system properties, it is best to fetch them into a static variable. Every operation was synchronizing on access to this property.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)