RFR: 8315954: getArgumentValues002.java fails on Graal

Doug Simon dnsimon at openjdk.org
Wed Sep 13 09:57:57 UTC 2023


This PR adds `ResolvedJavaMethod.getLiveObjectLocalsAt` to get the oop map for a method at a given BCI. This is required to do correct clearing of oop locals at OSR entry points.

As part of this addition, I needed to be able to detect requests for oop maps at invalid BCIs. For this, I added `InterpreterOopMap::has_valid_mask()`. When an oop map computation is requested for an invalid BCI, this method returns false.

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

Commit messages:
 - added ResolvedJavaMethod.getLiveObjectLocalsAt

Changes: https://git.openjdk.org/jdk/pull/15705/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15705&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8315954
  Stats: 333 lines in 7 files changed: 309 ins; 0 del; 24 mod
  Patch: https://git.openjdk.org/jdk/pull/15705.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15705/head:pull/15705

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


More information about the graal-dev mailing list