Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-2331

DataMapStoreManager#getDataMap shouldn't lock on interned String

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

            synchronized (tableUniqueName.intern()) {
      

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: