Testsuite name: hotspot/test/closed/compiler/compilercontrol (jtreg)
Test name(s): InlineExcludedTest.java
Product(s) tested: JDK 9.0.4 1
OS/architecture: Tested in Linux x64, Sparc v9, Mac x64, Windows x64
Reproducible: Intermittent
Is it a Regression: No, reproducible in 9 GA (9 181)
Log:
----------System.err:(95/3618)----------
stdout: [CompileCommand: exclude *Klass*.*method
CompileCommand: inline *Klass*.*method
INFO: Client connection port = 60077
];
stderr: [Failed event: CompilerInlining {
startTime = 19839751
eventThread = {
osName = "C2 CompilerThread0"
osThreadId = 23120
javaName = "C2 CompilerThread0"
javaThreadId = 6
group = {
parent = null
name = "system"
}
}
compileId = 1540
caller = {
type = {
classLoader = {
type = {
classLoader = {
type = null
name = "boot"
}
name = "jdk/internal/reflect/DelegatingClassLoader"
package = {
name = "jdk/internal/reflect"
module = {
name = "java.base"
version = "9.0.4-ea"
location = "jrt:/java.base"
classLoader = {
type = null
name = "boot"
}
}
exported = true
}
modifiers = 32
}
name = null
}
name = "jdk/internal/reflect/GeneratedMethodAccessor3"
package = {
name = "jdk/internal/reflect"
module = null
exported = true
}
modifiers = 1
}
name = "invoke"
descriptor = "(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;"
modifiers = 1
hidden = false
}
callee = {
type = "compiler/compilercontrol/share/pool/sub/Klass"
name = "method"
descriptor = "(I[Ljava/lang/String;Ljava/lang/Integer;[B[[D)V"
}
succeeded = true
message = "force inline by CompileCommand"
bci = 146
}
Exception in thread "main" java.lang.AssertionError: compiler/compilercontrol/share/pool/sub/Klass.method(I[Ljava/lang/String;Ljava/lang/Integer;[B[[D)V should not be inlined on level 4
at closed.compiler.compilercontrol.InlineAction.checkMethod(InlineAction.java:170)
at closed.compiler.compilercontrol.InlineAction.lambda$test$2(InlineAction.java:91)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1380)
at closed.compiler.compilercontrol.InlineAction.test(InlineAction.java:91)
at closed.compiler.compilercontrol.ExtendedBaseAction.check(ExtendedBaseAction.java:25)
at compiler.compilercontrol.share.actions.BaseAction.communicate(BaseAction.java:100)
at closed.compiler.compilercontrol.ExtendedBaseAction.main(ExtendedBaseAction.java:16)
]
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:379)
at compiler.compilercontrol.share.scenario.Scenario.execute(Scenario.java:115)
at compiler.compilercontrol.share.MultiCommand.test(MultiCommand.java:83)
at closed.compiler.compilercontrol.InlineExcludedTest.main(InlineExcludedTest.java:45)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:844)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]
Test name(s): InlineExcludedTest.java
Product(s) tested: JDK 9.0.4 1
OS/architecture: Tested in Linux x64, Sparc v9, Mac x64, Windows x64
Reproducible: Intermittent
Is it a Regression: No, reproducible in 9 GA (9 181)
Log:
----------System.err:(95/3618)----------
stdout: [CompileCommand: exclude *Klass*.*method
CompileCommand: inline *Klass*.*method
INFO: Client connection port = 60077
];
stderr: [Failed event: CompilerInlining {
startTime = 19839751
eventThread = {
osName = "C2 CompilerThread0"
osThreadId = 23120
javaName = "C2 CompilerThread0"
javaThreadId = 6
group = {
parent = null
name = "system"
}
}
compileId = 1540
caller = {
type = {
classLoader = {
type = {
classLoader = {
type = null
name = "boot"
}
name = "jdk/internal/reflect/DelegatingClassLoader"
package = {
name = "jdk/internal/reflect"
module = {
name = "java.base"
version = "9.0.4-ea"
location = "jrt:/java.base"
classLoader = {
type = null
name = "boot"
}
}
exported = true
}
modifiers = 32
}
name = null
}
name = "jdk/internal/reflect/GeneratedMethodAccessor3"
package = {
name = "jdk/internal/reflect"
module = null
exported = true
}
modifiers = 1
}
name = "invoke"
descriptor = "(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;"
modifiers = 1
hidden = false
}
callee = {
type = "compiler/compilercontrol/share/pool/sub/Klass"
name = "method"
descriptor = "(I[Ljava/lang/String;Ljava/lang/Integer;[B[[D)V"
}
succeeded = true
message = "force inline by CompileCommand"
bci = 146
}
Exception in thread "main" java.lang.AssertionError: compiler/compilercontrol/share/pool/sub/Klass.method(I[Ljava/lang/String;Ljava/lang/Integer;[B[[D)V should not be inlined on level 4
at closed.compiler.compilercontrol.InlineAction.checkMethod(InlineAction.java:170)
at closed.compiler.compilercontrol.InlineAction.lambda$test$2(InlineAction.java:91)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1380)
at closed.compiler.compilercontrol.InlineAction.test(InlineAction.java:91)
at closed.compiler.compilercontrol.ExtendedBaseAction.check(ExtendedBaseAction.java:25)
at compiler.compilercontrol.share.actions.BaseAction.communicate(BaseAction.java:100)
at closed.compiler.compilercontrol.ExtendedBaseAction.main(ExtendedBaseAction.java:16)
]
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:379)
at compiler.compilercontrol.share.scenario.Scenario.execute(Scenario.java:115)
at compiler.compilercontrol.share.MultiCommand.test(MultiCommand.java:83)
at closed.compiler.compilercontrol.InlineExcludedTest.main(InlineExcludedTest.java:45)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:564)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:844)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]
- duplicates
-
JDK-8144086 Make CompileCommands affect C1 and C2 inlining similarly
- Open