Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-3756

Unnecessary wall clock call for immortal entries

    XMLWordPrintable

    Details

      Description

      When updating immortal entries Infinispan calls up the wall clock time unnecessarily.

            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);
            }
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              galder.zamarreno Galder ZamarreƱo
              Reporter:
              galder.zamarreno Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: