RFR: 8273807: Zero: Drop incorrect test block from compiler/startup/NumCompilerThreadsCheck.java
Aleksey Shipilev
shade at openjdk.java.net
Wed Sep 15 11:17:02 UTC 2021
There is a Zero-specific test block in compiler/startup/NumCompilerThreadsCheck.java, which currently fails:
$ CONF=linux-x86_64-zero-fastdebug make exploded-test TEST=compiler/startup/NumCompilerThreadsCheck.java
...
STDERR:
stdout: [];
stderr: [intx CICompilerCount=-1 is outside the allowed range [ 0 ... 2147483647 ]
Improperly specified VM option 'CICompilerCount=-1'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
]
exitValue = 1
java.lang.RuntimeException: 'must be at least 0' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:221)
at compiler.startup.NumCompilerThreadsCheck.main(NumCompilerThreadsCheck.java:53)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:833)
I believe it was rendered obsolete by JDK-8122937.
Additional testing:
- [x] Linux x86_64 Zero, affected test now passes
-------------
Commit messages:
- Fix
Changes: https://git.openjdk.java.net/jdk/pull/5531/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5531&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8273807
Stats: 5 lines in 1 file changed: 0 ins; 5 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/5531.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/5531/head:pull/5531
PR: https://git.openjdk.java.net/jdk/pull/5531
More information about the hotspot-compiler-dev
mailing list