-
Bug
-
Resolution: Fixed
-
P2
-
9, 10
-
b166
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8179136 | 10 | Tom Rodriguez | P2 | Resolved | Fixed | b06 |
JVMCI introduced the ability to rethrow an exception at the deopt point to support deoptimization during exception dispatch. The exception to be thrown is fetched from the top of stack. It's possible that exception has been escape analyzed and must be materialized. The current logic fetches the exception from the deopt state before materialization which will produce null in this case. Exception will eventually crash because we enter the exception machinery a NULL pointer and all those paths assume that it's non-null. The fix is simply to move the capture of the exception until after rematerialization.
- backported by
-
JDK-8179136 [JVMCI] when rethrowing exceptions at deopt the exception must be fetched after materialization
-
- Resolved
-