When doing late inlining, `GraphKit::access_load_at()` may be called
to populate an `InlineTypeNode`. When it executes, it, sometimes,
causes the `map` used by the `GraphKit` instance to change. When that
happens, `CallGenerator::do_late_inline_helper()` continues execution
with an outdated `map` which causes issues during parsing.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - more
 - unrelated fix
 - test

Changes: https://git.openjdk.org/valhalla/pull/2356/files
  Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2356&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8382814
  Stats: 85 lines in 2 files changed: 85 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/valhalla/pull/2356.diff
  Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2356/head:pull/2356

PR: https://git.openjdk.org/valhalla/pull/2356

Reply via email to