RFR: 8292584: assert(cb != __null) failed: must be with -XX:-Inline [v4]

Dean Long dlong at openjdk.org
Thu Aug 25 23:46:12 UTC 2022


> generate_Continuation_doYield_entry() creates an interpreter entry point, but jumps to a compiled stub, which needs to be walkable.  The interpreter entry does not create an interpreter frame, so frame walking expects a compiled frame.  Normally everything is OK, but if C1 does not inline the intrinsic and we get to the interpreter entry through the c2i adapter, then things can break if the c2i adapter padded the stack because of alignment.  The easiest fix is to undo what the c2i adapter might have done.

Dean Long has updated the pull request incrementally with one additional commit since the last revision:

  fix zero build

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/9974/files
  - new: https://git.openjdk.org/jdk/pull/9974/files/5e48388f..8be3d321

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=9974&range=03
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=9974&range=02-03

  Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/9974.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9974/head:pull/9974

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


More information about the hotspot-compiler-dev mailing list