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

Unaligned unsafe access should throw InternalError on Solaris

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • hotspot
    • None
    • b137
    • solaris

      As Martin Doerr pointed out here
      http://mail.openjdk.java.net/pipermail/hotspot-runtime-dev/2016-August/020885.html
      the Solaris signal handler only catches SIGBUS with si_code BUS_OBJERR but not with other codes like BUS_ADRALN. As a result, the VM may crash if an Unsafe operation generates a SIGBUS (see JDK-8164968). Instead we should throw an InternalError.

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

              Created:
              Updated:
              Resolved: