Uploaded image for project: 'Commons JEXL'
  1. Commons JEXL
  2. JEXL-216

Improve parsing concurrency in multithreaded environment

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0
    • Fix Version/s: 3.1
    • Labels:
      None

      Description

      At the moment the Engine.parse() method synchronizes on parser member even if the caching is enabled and the actual parsing is not required, in case of cache hit. This effectively serializes processing of scripts and expressions in multithreaded scenario. The suggestion is to separate synchronization on cache from synchronization on parser, with the latter only being performed if actual parsing is required.

        Attachments

          Activity

            People

            • Assignee:
              henrib Henri Biestro
              Reporter:
              dmitri_blinov Dmitri Blinov
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: