You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Francesco Nigro (Jira)" <ji...@apache.org> on 2021/12/20 14:10:00 UTC

[jira] [Updated] (ARTEMIS-3618) Faster Artemis CORE client MessageListener::onMessage without SecurityManager

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

Francesco Nigro updated ARTEMIS-3618:
-------------------------------------
    Issue Type: Improvement  (was: Bug)

> Faster Artemis CORE client MessageListener::onMessage without SecurityManager
> -----------------------------------------------------------------------------
>
>                 Key: ARTEMIS-3618
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3618
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Francesco Nigro
>            Assignee: Francesco Nigro
>            Priority: Major
>
> Currently {{ClientConsumerImpl}}, responsible of calling JMS {{MessageListener::onMessage}}, is installing/restoring the listener thread's context ClassLoader by using a secured action regardless any security manager is installed.
> This secured action (using {{AccessController::doPrivileged}}) is very heavyweight and can often be as costy as the user/application code handling the received message (see https://bugs.openjdk.java.net/browse/JDK-8062162 for more info)



--
This message was sent by Atlassian Jira
(v8.20.1#820001)