x86-32: XMM register corruption causes crashes

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P3
    • tbd
    • Affects Version/s: 8, 11, 17, 18, 19
    • Component/s: hotspot
    • x86
    • generic

      In recent Linuxes, system libraries (in particular libc) are compiled to use XMM registers. In a few places x86-32 HotSpot calls out to runtime without preserving the XMM registers. Because register spilling to XMM registers is enabled in C2-generated code, register corruption occurs. We need to fix FPU save and restore to include XMM registers.

      While this is reproduced on Linux, it is a generic x86-32 bug.

            Assignee:
            Andrew Haley
            Reporter:
            Andrew Haley
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: