RFR: 8306625 - Missing instructions on IR-based test framework ALLOC Regex

Cesar Soares Lucas cslucas at openjdk.org
Tue Apr 25 01:25:25 UTC 2023


On AArch64 with -XX:-UseTLAB, C2 can add an `add`, `mulw` or `addw` around the method call to allocate an object/array. When this happens the current Regex of the IR-based test framework will NOT recognize the instruction sequence as an allocation and the result will be a false-negative test results.

This PR is to adjust the four Regex to account for those possible instructions.

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

Commit messages:
 - Include add, addw, mulw in ALLOC regexes

Changes: https://git.openjdk.org/jdk/pull/13631/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13631&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8306625
  Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/13631.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13631/head:pull/13631

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


More information about the hotspot-compiler-dev mailing list