Skip to content

Commit 1a19902

Browse files
[GR-52921] Mark installDeoptimizedFrame() as @Uninterruptible.
1 parent 7e9d49f commit 1a19902

File tree

1 file changed

+1
-0
lines changed
  • substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/deopt

1 file changed

+1
-0
lines changed

substratevm/src/com.oracle.svm.core/src/com/oracle/svm/core/deopt/Deoptimizer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ private static RuntimeException checkDeoptimizedError0(Pointer sourceSp) {
257257
throw VMError.shouldNotReachHere("Unable to retrieve Deoptimized frame");
258258
}
259259

260+
@Uninterruptible(reason = "Prevent stack walks from seeing an inconsistent stack.")
260261
private static void installDeoptimizedFrame(Pointer sourceSp, DeoptimizedFrame deoptimizedFrame) {
261262
/*
262263
* Replace the return address to the deoptimized method with a pointer to the deoptStub.

0 commit comments

Comments
 (0)