C2: Vector registers sometimes corrupted at safepoint

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 10
    • Affects Version/s: 10
    • Component/s: hotspot
    • b37
    • Verified

        The logic that computes Compile::_max_vector_size actually only keeps the max vector size of the last loop processed by loop optimizations. A method with multiple loops, the last of which uses shorter vectors than the others, can then be registered as not requiring vectors to be saved on a safepoint which causes corruptions of the vector registers.

              Assignee:
              Roland Westrelin
              Reporter:
              Roland Westrelin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: