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

Unnecessary wall clock call for immortal entries

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.0.1.Final, 7.0.0.Alpha1
    • 6.0.0.Final
    • None

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

              rh-ee-galder Galder ZamarreƱo
              rh-ee-galder Galder ZamarreƱo
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: