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

[JVMCI] check alignment of call displacement during code installation

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b25

      Backports

        Description

        We have the following crash on GraalVM:

        # Internal Error (nativeInst_x86.cpp:155), pid=19, tid=0x00007f410b0f4700
        # guarantee(!os::is_MP() || is_aligned) failed: destination must be aligned

        This implies a problem in Graal in terms of emitting code that complies with HotSpot's code patching requirements. It would be preferable for the compilation to fail gracefully/silently than for the whole VM to stop. As such, JVMCI should verify these alignment invariants during code installation.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                dnsimon Douglas Simon
                Reporter:
                dnsimon Douglas Simon
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: