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

copy_to_survivor_space should use in-hand klass for scanning

    XMLWordPrintable

Details

    • Enhancement
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 16
    • 16
    • hotspot
    • gc
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: