RFR: 8261239: Upstream 8258238: Some jextract samples crash with: "updating map that does not need updating"

Jorn Vernee jvernee at openjdk.java.net
Fri Feb 5 17:55:50 UTC 2021


Hi,

This patch upstreams a fix and the accompanying test from the panama-foreign repo, that fixes an assertion when walking the stack with a register map that does not need updating.

While updating the map any ways seems benign, the fix avoids running into the assertion in certain test configurations when running foreign-linker tests.

Testing: Tier 1-2

Thanks,
Jorn

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

Commit messages:
 - Upstream 8258238: Some jextract samples crash with: "updating map that does not need updating"

Changes: https://git.openjdk.java.net/jdk/pull/2430/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2430&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8261239
  Stats: 11 lines in 6 files changed: 3 ins; 0 del; 8 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2430.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2430/head:pull/2430

PR: https://git.openjdk.java.net/jdk/pull/2430


More information about the hotspot-runtime-dev mailing list