You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@carbondata.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2018/04/10 19:27:00 UTC

[jira] [Created] (CARBONDATA-2331) DataMapStoreManager#getDataMap shouldn't lock on interned String

Ted Yu created CARBONDATA-2331:
----------------------------------

             Summary: DataMapStoreManager#getDataMap shouldn't lock on interned String
                 Key: CARBONDATA-2331
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-2331
             Project: CarbonData
          Issue Type: Bug
            Reporter: Ted Yu


{code}
      synchronized (tableUniqueName.intern()) {
{code}
Please see the 'Noncompliant Code Example (Interned String Object)' section under:
https://wiki.sei.cmu.edu/confluence/display/java/LCK01-J.+Do+not+synchronize+on+objects+that+may+be+reused



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