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

Shenandoah: Remove null-handling in LRB expansion

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8-shenandoah, 11-shenandoah, 13, 14, 15
    • Fix Version/s: 15
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • Resolved In Build:
      b23
    • CPU:
      generic
    • OS:
      generic

      Description

      Currently, we have a whole lot of code that deals with null-checking in our LRB expansion:
      - We generate a null-check before the cset-check. This used to be necessary when cset-check could not handle null, and because we did read the mark-word from the object. Both is no longer the case.
      - We shuffle around preceding or subsequent null-checks, and clone a null-check into the LRB midpath, all of which was necessary to make the null-check in mid-path be transformed into an implicit null-check. It's not needed anymore either.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rkennke Roman Kennke
              Reporter:
              rkennke Roman Kennke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: