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/02/13 23:08:00 UTC

[jira] [Commented] (GEODE-6380) Remove all mutable static state from Geode

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

ASF subversion and git services commented on GEODE-6380:
--------------------------------------------------------

Commit 803f00ef91449d7b5c5e5be71b1cc68d3acc1427 in geode's branch refs/heads/develop from Dan Smith
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=803f00e ]

GEODE-6380: Adding annotations for documenting static fields

Adding annotations for documenting static fields as either
- Immutable
- MutableForTesting
- MakeNotStatic - fields that should be converted to cache scoped
  instances
- MakeImmutable - fields that were indented to be immutable, but that
  isn't really enforced.


> Remove all mutable static state from Geode
> ------------------------------------------
>
>                 Key: GEODE-6380
>                 URL: https://issues.apache.org/jira/browse/GEODE-6380
>             Project: Geode
>          Issue Type: Bug
>          Components: core
>            Reporter: Dan Smith
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Related to GEODE-395 and GEODE-3583 - we would like to eliminate the use of mutable static state within Geode. This sort of state 
>  - prevents us from running multiple caches in the same JVM
>  - provides opportunities for bugs related to not cleaning up static state
>  - Makes it harder to understand and test components that may have hidden dependencies through static state.



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