You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Biestro (Jira)" <ji...@apache.org> on 2021/06/29 07:00:03 UTC

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

     [ https://issues.apache.org/jira/browse/JEXL-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Biestro closed JEXL-216.
------------------------------

> 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
>            Assignee: Henri Biestro
>            Priority: Minor
>             Fix For: 3.1
>
>
> 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
(v8.3.4#803005)