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

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

Commit 924c633b732652ba593da690b6e832cb72038f05 in geode-native's branch 
refs/heads/develop from Blake Bender
[ https://gitbox.apache.org/repos/asf?p=geode-native.git;h=924c633 ]

GEODE-8891: Move static regex in ThinClientRegion (#830)

Make static regex a local static variable
- Latest compiler/runtime on RHEL-8 causes an order-of-initialization bug for 
this static regex, and will core dump at app startup for optimized builds.
Changing to local variable ensures regex variable isn't initialized until the 
first time we use it, long after all static initializers are called.

> Convert remaining singletons to Meyers pattern
> ----------------------------------------------
>
>                 Key: GEODE-8891
>                 URL: https://issues.apache.org/jira/browse/GEODE-8891
>             Project: Geode
>          Issue Type: Improvement
>          Components: native client
>            Reporter: Blake Bender
>            Priority: Major
>              Labels: pull-request-available
>
> As a developer, it is to my advantage to preemptively pay technical debt when 
> I can, especially if said debt has potentially subtle bugs.  Geode Native 
> still has several poortly-written singleton objects in legacy code, and as 
> we've just seen with the rewrite of EventId for GEODE-8887, these can 
> introduce very strange behavior in a multi-threaded app.  We need to identify 
> any of these remaining, and clean them up like we did for EventId.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to