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

[Lilliput/JDK17] Remove unneeded code in ContiguousSpace::object_iterate_from()

XMLWordPrintable

    • gc
    • generic
    • generic

      There is some code in space.cpp that resolves a forwarding pointer to get to the Klass* of an object under Lilliput, but it is not necessary and actually causes harm (the null-check doesn't really make sense when the object is indeed forwarded, but we should not observe a forwarded object to begin with). It is not in upstream JDK(21) version of Lilliput and removing it causes no harm.

            rkennke Roman Kennke
            rkennke Roman Kennke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: