RFR: 8282509: [AIX] ResolvedTestClass fails on AIX with similar output

Tyler Steele duke at openjdk.java.net
Fri Mar 4 16:29:31 UTC 2022


This is a tentative solution to a failure observed on AIX. The solution is tentative because I require help to ensure that something deeper and more problematic is not happening.

The test fails because the output produced by PrintCompilation produces `LambdaForm$MH/0x00000007c0002400` instead of `Invokers$Holder` as it does on other platforms. There is one other place the output is different, when `DirectMethodHandle$Holder` is replaced with `LambdaForm$DMH/0x00000007c0001c00`. Ignoring these name changes, the output of PrintCompilation is identical. I observe the same compilations (including the OSR/non-OSR, and same level) in the same order.

I would be grateful for help understanding the root of the difference behind the change. I have a few ideas, but I will let you build your own interpretations free from my potentially incorrect understanding (i.e. no spoilers). Thanks in advance.

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

Commit messages:
 - Trial Solution: Replaces shouldContain with shouldMatch + Regex in ResolvedClassTest

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

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


More information about the hotspot-compiler-dev mailing list