This fails pretty regularly in Twitter nightly testing with Graal:
Error: Value not atLeast0, field='inlinedBytes', value='-102': expected -102 >= 0
Failed event:
Compilation {
startTime = 5042961063
duration = 19889808
eventThread = {
osName = "JVMCI CompilerThread7"
osThreadId = 378225
javaName = "JVMCI CompilerThread7"
javaThreadId = 13
group = {
parent = null
name = "system"
}
}
method = {
type = {
classLoader = {
type = null
name = "bootstrap"
}
name = "java/lang/Long"
package = {
name = "java/lang"
module = {
name = "java.base"
version = "11.0.0.0.1-internal"
location = "jrt:/java.base"
classLoader = {
type = null
name = "bootstrap"
}
}
exported = true
}
modifiers = 49
}
name = "numberOfTrailingZeros"
descriptor = "(J)I"
modifiers = 9
hidden = false
}
compileId = 5534
compileLevel = 4
succeded = true
isOsr = false
codeSize = 104
inlinedBytes = -102
}
STDERR:
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
java.lang.RuntimeException: Value not atLeast0, field='inlinedBytes', value='-102': expected -102 >= 0
at jdk.test.lib.Asserts.fail(Asserts.java:594)
at jdk.test.lib.Asserts.assertGreaterThanOrEqual(Asserts.java:288)
at jdk.test.lib.jfr.EventField.lambda$atLeast$4(EventField.java:76)
at jdk.test.lib.jfr.EventField.doAssert(EventField.java:116)
at jdk.test.lib.jfr.EventField.atLeast(EventField.java:76)
at jdk.jfr.event.compiler.TestCompilerCompile.verifyEvent(TestCompilerCompile.java:139)
at jdk.jfr.event.compiler.TestCompilerCompile.doTest(TestCompilerCompile.java:98)
at jdk.jfr.event.compiler.TestCompilerCompile.main(TestCompilerCompile.java:62)
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:566)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
at java.base/java.lang.Thread.run(Thread.java:834)