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

C2: Vector registers sometimes corrupted at safepoint

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b37
    • Verification:
      Verified

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: