]
Dan Berindei updated ISPN-3756:
-------------------------------
Fix Version/s: 7.0.0.Alpha1
Unnecessary wall clock call for immortal entries
------------------------------------------------
Key: ISPN-3756
URL:
https://issues.jboss.org/browse/ISPN-3756
Project: Infinispan
Issue Type: Bug
Affects Versions: 6.0.0.Final
Reporter: Galder ZamarreƱo
Assignee: Galder ZamarreƱo
Fix For: 6.0.1.Final, 7.0.0.Alpha1
When updating immortal entries Infinispan calls up the wall clock time unnecessarily.
{code}
if (e != null) {
e.setValue(v);
InternalCacheEntry original = e;
e = entryFactory.update(e, metadata);
// we have the same instance. So we need to reincarnate.
if (original == e) {
--> e.reincarnate(timeService.wallClockTime());
}
} else {
// this is a brand-new entry
e = entryFactory.create(k, v, metadata);
}
{code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: