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

[JVMCI] crash during safepoint deopt if rethrow_exception is set

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b96

      Description

      The support for rethrow_exception was only implemented for uncommon traps. Scopes with rethrow_exception=true can in rare cases be found at places where a safepoint can happen so non-uncommon trap deopts should also support rethrow_exception.

      The current support in uncommon_trap_inner uses a pending exception. It should instead use the Unpack_exception exec mode and exception_oop which is the normal way to re-throw an exception during deopt.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gdub Gilles Duboscq
                Reporter:
                gdub Gilles Duboscq
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: