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

Improve parsing concurrency in multithreaded environment

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.0
    • 3.1
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: