Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8254159

Add overloads for oop_iterate and friends with klass as an argument

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 16
    • 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.

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

              Created:
              Updated: