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)

Reply via email to