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)

Dean Long dlong at openjdk.org
Tue Oct 28 01:35:03 UTC 2025


On Mon, 27 Oct 2025 02:56:36 GMT, David Holmes <dholmes 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.

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

PR Comment: https://git.openjdk.org/jdk/pull/27985#issuecomment-3454063293


More information about the hotspot-runtime-dev mailing list