Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-23130

Re-enable threadLocal option for embedded Java

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.2.50, 7.6.12, 7.4.36
    • Fix Version/s: 7.6.14
    • Component/s: Embedded Languages
    • Labels:
      None

      Description

      threadLocal option was disabled in 7.2.52 and upmerged versions, because it was not working correctly (causing cores) if a thread in a threadpool was reused (as is common in Roxie).

      Correcting this so that threadLocal can be re-enabled requires a change to the threadTermHook mechanism so that we can distinguish a threadpool end from a thread about to be killed, and a codegen change so that the ICodeContext can be passed per call rather than only at function context creation.

        Attachments

          Activity

            People

            • Assignee:
              richardkchapman Richard Chapman
              Reporter:
              richardkchapman Richard Chapman
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: