RFR: 8358725: RunThese30M: assert(nm->insts_contains_inclusive(original_pc)) failed: original PC must be in the main code section of the compiled method (or must be immediately following it)
David Holmes
dholmes at openjdk.org
Tue Oct 28 03:38:03 UTC 2025
On Tue, 28 Oct 2025 01:32:14 GMT, Dean Long <dlong at openjdk.org> wrote:
> > If we only the print the stack up to the signal handler, and not all the way to the allocation, then won't the resulting stack trace be confusing for the reader?
>
> The stack trace starts at the most recent stack frames (the allocation) and works backwards through the callers (signal handler). So the signal handler frame looks like a special entry or "first" frame, similar to a thread start function or libc init code.
Sorry I'm confused about which part of the stack - that preceding the signal handler, or that after - will be printed after this fix.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27985#issuecomment-3454389084
More information about the hotspot-runtime-dev
mailing list