On Tue, 4 Aug 2026 05:03:01 GMT, Fei Yang <[email protected]> wrote:

> Just FYI: I tried this change on my x86_64 machine and I witnessed test 
> failures when running loom tests with `+VerifyContinuations`.
> 
> `$ make test TEST="hotspot_loom jdk_loom" 
> TEST_VM_OPTS="-XX:+VerifyContinuations"`
> 
> ```
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  Internal Error (/home/fyang/jdk/src/hotspot/cpu/x86/frame_x86.cpp:698), 
> pid=171473, tid=173361
> #  Error: assert(is_compiled_frame()) failed
> #
> # JRE version: OpenJDK Runtime Environment (28.0) (fastdebug build 
> 28-internal-adhoc.fyang.jdk)
> # Java VM: OpenJDK 64-Bit Server VM (fastdebug 28-internal-adhoc.fyang.jdk, 
> mixed mode, tiered, compressed oops, compact obj headers, g1 gc, linux-amd64)
> # Problematic frame:
> # V  [libjvm.so+0xf21694]  frame::was_augmented_on_entry(int&) const+0xf4
> #
> # Core dump will be written. Default location: 
> /home/fyang/jdk/build/linux-x86_64-server-fastdebug/test-support/jtreg_test_jdk_jdk_loom/scratch/13/core.171473
> #
> # An error report file with more information is saved as:
> # 
> /home/fyang/jdk/build/linux-x86_64-server-fastdebug/test-support/jtreg_test_jdk_jdk_loom/scratch/13/hs_err_pid171473.log
> ```
>
Thanks @RealFYang, fixed. `StackChunkFrameStream::is_compiled()` includes 
compiled native frames so it triggered the assert in `was_augmented_on_entry`. 
I fixed the assert as it only needs to check for a non-null nmethod.

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

PR Comment: https://git.openjdk.org/jdk/pull/32178#issuecomment-5183088433

Reply via email to