]
Galder Zamarreno resolved ISPN-472.
-----------------------------------
Resolution: Done
Stop creating a new instance of Decoder10 per each request
----------------------------------------------------------
Key: ISPN-472
URL:
https://jira.jboss.org/browse/ISPN-472
Project: Infinispan
Issue Type: Bug
Components: Cache Server
Affects Versions: 4.1.0.BETA2
Reporter: Galder Zamarreno
Assignee: Galder Zamarreno
Fix For: 4.1.0.CR1
There's no need for HotRodDecoder to create a brand new instance Decoder10 for each
request, this is wasteful. It can easily be an instance variable since a new HotRodDecoder
is created for each new incoming connection.
For the moment, Decoder10 can just be an instance variable in HotRodDecoder. In the
future, as more versions are supported, there'll be a map.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: