[jdk17u-dev] Integrated: 8314837: 5 compiled/codecache tests ignore VM flags

Amos Shi ashi at openjdk.org
Fri Aug 16 17:16:51 UTC 2024


On Thu, 8 Aug 2024 21:03:26 GMT, Amos Shi <ashi at openjdk.org> wrote:

> 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: 1 failing (`macos-x64`) and 18 successful checks
> - Testing Machine: SAP nightlies Passed on `2024-08-15`
>   - Automated jtreg test: `jtreg_hotspot_tier1`, Started at `2024-08-14 22:02:58+01:00`
>   - compiler/codecache/CheckCodeCacheInfo.java: `SUCCESSFUL` GitHub 📊 - [22:03:42.440 -> 1,493 msec]
>   - compiler/codecache/CodeCacheFullCountTest.java: `SUCCESSFUL` GitHub 📊 - [22:03:46.390 -> 6,931 msec]
>   - compiler/codecache/cli/TestSegmentedCodeCacheOption.java: `SUCCESSFUL` GitHub 📊 - [22:10:17.893 -> 1,271 msec]
>   - compiler/codecache/cli/codeheapsize/TestCodeHeapSizeOptions.java: `SUCCESSFUL` GitHub 📊 - [22:10:15.984 -> 8,110 msec]
>   - compiler/codecache/cli/printcodecache/TestPrintCodeCacheOption.java: `SUCCESSFUL` GitHub 📊 - [22:10:17.300 -> 2,223 msec]

This pull request has now been integrated.

Changeset: e291bfa5
Author:    Amos Shi <ashi at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/e291bfa501cc37e9344e86ceb21354dcf27a08f3
Stats:     11 lines in 5 files changed: 4 ins; 2 del; 5 mod

8314837: 5 compiled/codecache tests ignore VM flags

Backport-of: 2a11bc41baec20cf670393ff29689043ed2d2114

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

PR: https://git.openjdk.org/jdk17u-dev/pull/2788


More information about the jdk-updates-dev mailing list