RFR: 8318455: Fix the compiler/sharedstubs/SharedTrampolineTest.java and SharedStubToInterpTest.java [v2]
Evgeny Nikitin
enikitin at openjdk.org
Sun Oct 22 18:39:54 UTC 2023
> A continuation of #16258.
>
> Said tests try to control the compilers used via arguments passed to subprocesses' they create. The [JDK-8314838](https://bugs.openjdk.org/browse/JDK-8314838) added support for additional forwarding of the JTReg javaoptions to the subprocesses, but broke the original arguments passing. They are now passed to the enclosing driver and simply ignored by ProcessTools.createTestJvm. As a result, proper compiler may be not chosen on subprocess start, etc. This PR fixes that.
>
> Testing: both tests run in CI, with additional arguments (tests were ignored, as expected) and without (passed).
Evgeny Nikitin has updated the pull request incrementally with one additional commit since the last revision:
Make SharedTrampolineTest also accept cmd-line compiler argument
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/16277/files
- new: https://git.openjdk.org/jdk/pull/16277/files/7de4bf98..09b60c2f
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=16277&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=16277&range=00-01
Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
Patch: https://git.openjdk.org/jdk/pull/16277.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/16277/head:pull/16277
PR: https://git.openjdk.org/jdk/pull/16277
More information about the hotspot-compiler-dev
mailing list