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

[PPC64] SIGSEGV in C2Compiler::init_c2_runtime() after JDK-8289060

    XMLWordPrintable

Details

    • b06
    • ppc

    Backports

      Description

        VM crashes with SIGSEGV during initialization in C2Compiler::init_c2_runtime() while trying to write into an array with negative index: "OptoReg::vm2opto[r->value()] = i;" (c2compiler.cpp:70).
        "r" is a nullptr and the new implementation of "r->value()" yields a negative value. (Calling nullptr->value() is undefined behavior!)

        Note: Vector registers are OptoRegs but don't have a VMReg representation on PPC64.

        Attachments

          Issue Links

            Activity

              People

                mdoerr Martin Doerr
                mdoerr Martin Doerr
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: