-
Bug
-
Resolution: Done
-
Critical
-
28.0.1.Final
-
None
@SessionScoped @Stateful EJBs org.jboss.weld.ejb.api.SessionObjectReference.isRemove() several times per EJB invocation. The current implementation (as of [1]) of this is far too expensive, and results in several cache transactions per invocation.
Given that the purpose of this method is to throw a NoSuchEJBException, it should be sufficient to replace the current logic with a local variable.
[1] https://github.com/wildfly/wildfly/commit/437515fed2ffa1c6f19b7fdd9b847e7974cc9e4d
- causes
-
JBEAP-24268 Clustering: performance degradation in ejb-servlet scenario
- Closed