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

Unnecessary wall clock call for immortal entries

    XMLWordPrintable

Details

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

    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

              rh-ee-galder Galder ZamarreƱo
              rh-ee-galder Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: