C2: Implement strict & relaxed identity semantics for vectors

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Unresolved
    • Priority: P3
    • repo-panama
    • Affects Version/s: repo-panama
    • Component/s: hotspot

      On API/bytecode level, vectors are represented as Objects, but C2 aggressively eliminates vector boxes.

      Some existing vector-specific optimizations can break identity invariants which hold for ordinary objects.

      Use "strict" identity semantics by default, but allow users to opt-it for aggressive optimizations.

            Assignee:
            Unassigned
            Reporter:
            Vladimir Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: