commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitri Blinov (JIRA)" <>
Subject [jira] [Created] (JEXL-216) Improve parsing concurrency in multithreaded environment
Date Sat, 27 Aug 2016 09:34:20 GMT
Dmitri Blinov created JEXL-216:

             Summary: Improve parsing concurrency in multithreaded environment
                 Key: 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

View raw message