ARM: typo may produce bad stats with TLABStats enabled

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • hs25
    • Affects Version/s: hs25
    • Component/s: embedded
    • None
    • b43
    • arm
    • linux

        In MacroAssembler::tlab_refill():

            if (TLABStats) {
                ldr(tmp2, Address(Rthread, JavaThread::tlab_slow_allocations_offset()));
                add(tmp2, tmp1, 1);
                str(tmp2, Address(Rthread, JavaThread::tlab_slow_allocations_offset()));
            }

        Looks like the one occurrence of "tmp1" should be "tmp2" instead.

              Assignee:
              Carlos Lucasius (Inactive)
              Reporter:
              Dean Long
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: