RFR: 8326236: assert(ce != nullptr) failed in Continuation::continuation_bottom_sender

Patricio Chilano Mateo pchilanomate at openjdk.org
Thu Jan 9 20:13:48 UTC 2025


Please review the following fix. In method frame::safe_for_sender() we could read a sender_pc that matches StubRoutines::cont_returnBarrier() but there is no actual continuation in the stack. I added more details in the bug comments on how we can get into this situation. The extra check verifies there is a ContinuationEntry further up in the stack. I run the patch through mach5 tiers 1-2 for sanity testing and tiers 6-7.

Thanks,
Patricio

-------------

Commit messages:
 - v1

Changes: https://git.openjdk.org/jdk/pull/23017/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23017&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8326236
  Stats: 20 lines in 4 files changed: 20 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/23017.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23017/head:pull/23017

PR: https://git.openjdk.org/jdk/pull/23017


More information about the hotspot-dev mailing list