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

C2: Vector registers sometimes corrupted at safepoint

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 10
    • 10
    • 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.

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

                Created:
                Updated:
                Resolved: