Integrated: 8273807: Zero: Drop incorrect test block from compiler/startup/NumCompilerThreadsCheck.java

Aleksey Shipilev shade at openjdk.java.net
Thu Sep 16 08:16:49 UTC 2021


On Wed, 15 Sep 2021 11:08:52 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> 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

This pull request has now been integrated.

Changeset: 1c5de8b8
Author:    Aleksey Shipilev <shade at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/1c5de8b86b038f5d5c313c504a8868e36fc80bde
Stats:     5 lines in 1 file changed: 0 ins; 5 del; 0 mod

8273807: Zero: Drop incorrect test block from compiler/startup/NumCompilerThreadsCheck.java

Reviewed-by: thartmann

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

PR: https://git.openjdk.java.net/jdk/pull/5531


More information about the hotspot-compiler-dev mailing list