Add overloads for oop_iterate and friends with klass as an argument

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 16
    • Component/s: hotspot
    • None
    • gc

      oop_iterate and friends call another function with the arguments received plus the klass of the obj (this) argument. But some callers already have the klass in-hand for other reasons, and could pass it in as another argument. Since getting the klass is relatively expensive, this microoptimization may matter in some particularly performance sensitive contexts.

            Assignee:
            Unassigned
            Reporter:
            Kim Barrett
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: