[infinispan-issues] [JBoss JIRA] (ISPN-3756) Unnecessary wall clock call for immortal entries

Galder Zamarreño (JIRA) jira-events at lists.jboss.org
Mon Nov 25 11:01:07 EST 2013


     [ https://issues.jboss.org/browse/ISPN-3756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Galder Zamarreño updated ISPN-3756:
-----------------------------------

              Status: Pull Request Sent  (was: Open)
    Git Pull Request: https://github.com/infinispan/infinispan/pull/2237

    
> 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.1.0.Final
>
>
> 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: http://www.atlassian.com/software/jira



More information about the infinispan-issues mailing list