You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dmitri Blinov (JIRA)" <ji...@apache.org> on 2016/08/27 09:34:20 UTC

[jira] [Created] (JEXL-216) Improve parsing concurrency in multithreaded environment

Dmitri Blinov created JEXL-216:
----------------------------------

             Summary: Improve parsing concurrency in multithreaded environment
                 Key: JEXL-216
                 URL: https://issues.apache.org/jira/browse/JEXL-216
             Project: Commons JEXL
          Issue Type: Improvement
    Affects Versions: 3.0
            Reporter: Dmitri Blinov
            Priority: Minor


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)