Cache the enum values for VarHandle.AccessType

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 22
    • Component/s: core-libs

      AccessType and AccessMode in VarHandle have their entries accessed by index, so caching these enums' values array would allow reducing array allocations on `values()[index]` calls.

            Assignee:
            Chen Liang
            Reporter:
            Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: