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

Ron Pressler rpressler at openjdk.org
Wed Aug 31 16:31:25 UTC 2022


On Fri, 26 Aug 2022 07:01:57 GMT, Dean Long <dlong at openjdk.org> wrote:

>> 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 build failures

Looks good AFAICT, but requires testing with the JTREG wrapper (i.e. loom tiers 1-5)

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

Marked as reviewed by rpressler (Committer).

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


More information about the hotspot-compiler-dev mailing list