On Tue, 4 Aug 2026 18:38:33 GMT, Patricio Chilano Mateo <[email protected]> wrote:
>> `VerifyStackChunkFrameClosure` calls `StackChunkFrameStream::frame_size` to >> compute the sizes of frames stored in the `stackChunk`, but that method >> incorrectly uses `cb()->frame_size()` for extended compiled frames. The >> actual frame size has to be read from the frame metadata recorded when the >> frame was extended. >> >> Thanks to @TobiHartmann for the small reproducer which I included in the PR. >> I also tested the fix running `TestVirtualThreads.java` and `Fuzz.java` with >> `-XX:+VerifyContinuations` which also triggered the same assert before this >> fix. >> >> Thanks, >> Patricio >> >> --------- >> - [x] I confirm that I make this contribution in accordance with the >> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > Patricio Chilano Mateo has updated the pull request incrementally with three > additional commits since the last revision: > > - fix copyright header > - addd extra @test with -XX:+VerifyContinuations > - fix assert The adjustment for the extended frame size looks good to me. ------------- Marked as reviewed by fparain (Reviewer). PR Review: https://git.openjdk.org/jdk/pull/32178#pullrequestreview-4918923664
