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

[lworld] ReturnNodes should not keep value type allocations alive

XMLWordPrintable

      When value types are returned as fields from compiled code, we may also return the oop if the value type is allocated. I've noticed that sometimes otherwise unused value type allocations are kept alive only by a ReturnNode. In this case, the value type allocation should be removed and a tagged klass pointer should be returned instead.

            roland Roland Westrelin
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: