]
RH Bugzilla Integration commented on ISPN-5032:
-----------------------------------------------
Tristan Tarrant <ttarrant(a)redhat.com> changed the Status of [bug
Create dedicated GetCacheEntryCommand to simplify code and save
memory on GetKeyValueCommand
--------------------------------------------------------------------------------------------
Key: ISPN-5032
URL:
https://issues.jboss.org/browse/ISPN-5032
Project: Infinispan
Issue Type: Enhancement
Components: Core
Reporter: Sanne Grinovero
Assignee: Sanne Grinovero
Priority: Minor
Labels: jdg, performance
Fix For: 7.0.3.Final, 7.1.0.Beta1, 7.1.0.Final
Class {{GetKeyValueCommand}} is a strong allocation hot spot and can be simplified as
some fields are easily factored out.
There have been TODO comments in there for a while, I'm creating a dedicated
{{GetCacheEntryCommand}} for when we need to fetch the whole entry rather than just the
value.