RFR: 8359963: compiler/c2/aarch64/TestStaticCallStub.java fails with for code cache > 250MB the static call stub is expected to be implemented using far branch
Evgeny Astigeevich
eastigeevich at openjdk.org
Thu Jul 24 10:05:57 UTC 2025
On Mon, 30 Jun 2025 15:24:42 GMT, Mikhail Ablakatov <mablakatov at openjdk.org> wrote:
> The test assumed that hsdis is always available which is not the case. Make the test accept and scan either real or pseudo disassembly.
test/hotspot/jtreg/compiler/c2/aarch64/TestStaticCallStub.java line 319:
> 317: ProcessBuilder pb = ProcessTools.createLimitedTestJavaProcessBuilder(procArgs);
> 318: OutputAnalyzer output = new OutputAnalyzer(pb.start());
> 319: System.out.println(output.getOutput());
I think it is worth to have `output.shouldHaveExitValue(0);`.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26047#discussion_r2228065539
More information about the hotspot-compiler-dev
mailing list