[jdk17u-dev] RFR: 8314837: 5 compiled/codecache tests ignore VM flags [v2]
Amos Shi
ashi at openjdk.org
Thu Aug 8 21:36:50 UTC 2024
> Backport of [JDK-8314837](https://bugs.openjdk.org/browse/JDK-8314837)
> - This PR has two commits
> - `commit 1` generated by git patch, so it is `considered as Clean`
> - `commit 2` is the manual merge of `test/hotspot/jtreg/compiler/codecache/CodeCacheFullCountTest.java.rej`, content as bellow
>
>
> @@ -54,7 +55,7 @@
> }
>
> public static void runTest() throws Throwable {
> - ProcessBuilder pb = ProcessTools.createJavaProcessBuilder(
> + ProcessBuilder pb = ProcessTools.createTestJvm(
> "-XX:ReservedCodeCacheSize=2496k", "-XX:-UseCodeCacheFlushing", "-XX:-MethodFlushing", "CodeCacheFullCountTest", "WasteCodeCache");
> OutputAnalyzer oa = ProcessTools.executeProcess(pb);
> // Ignore adapter creation failures
>
>
> Testing
> - Local: Test passed on `MacOS 14.6.1` on Apple M1 Max
> - `CheckCodeCacheInfo.java`: Test results: passed: 1
> - `CodeCacheFullCountTest.java`: Test results: passed: 1
> - `TestSegmentedCodeCacheOption.java`: Test results: passed: 1
> - `TestCodeHeapSizeOptions.java`: Test results: passed: 1
> - `TestPrintCodeCacheOption.java`: Test results: passed: 1
> - Pipeline:
> - Testing Machine:
Amos Shi has updated the pull request incrementally with one additional commit since the last revision:
Backport 2a11bc41baec20cf670393ff29689043ed2d2114 Manual merge
-------------
Changes:
- all: https://git.openjdk.org/jdk17u-dev/pull/2788/files
- new: https://git.openjdk.org/jdk17u-dev/pull/2788/files/5fa47190..68268c47
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2788&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2788&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk17u-dev/pull/2788.diff
Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/2788/head:pull/2788
PR: https://git.openjdk.org/jdk17u-dev/pull/2788
More information about the jdk-updates-dev
mailing list