[lworld] acmp should support value class with cyclic membership

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Duplicate
    • Priority: P3
    • repo-valhalla
    • Affects Version/s: repo-valhalla
    • Component/s: hotspot

      JDK-8293321 makes ValueObjectMethods::isSubstitutable to support cycles. This is to track the equivalent work in C2 acmp implementation.

      value class Node {
          Node node;
      }

      var n1 = new Node(null);
      var n2 = new Node(n1);

      n1 == n2;

      run with -Xcomp, result in illegal hardware instruction

            Assignee:
            Tobias Hartmann
            Reporter:
            Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: