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

copy_to_survivor_space should use in-hand klass for scanning

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 16
    • Fix Version/s: 16
    • Component/s: hotspot
    • Subcomponent:
      gc
    • Resolved In Build:
      b20

      Description

      Scanning the oops in an instance is done via obj->oop_iterate_backward(closure). That function gets the klass of obj and calls another function with the obj, closure, and the just obtained class. But copy_to_survivor_space has already obtained the klass for other reasons, and pass it to that call, avoiding refetching it (including dealing with UseCompressedClassPointers).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kbarrett Kim Barrett
              Reporter:
              kbarrett Kim Barrett
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: