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

[JVMCI] crash during safepoint deopt if rethrow_exception is set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • None
    • hotspot
    • b96

      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.

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

              Created:
              Updated:
              Resolved: