-
Bug
-
Resolution: Fixed
-
P3
-
22
-
b07
$ CONF=linux-x86-server-fastdebug make images test TEST=runtime/CommandLine/OptionsValidation/TestOptionsWithRanges.java
STDERR:
TEST FAILED: Error processing option G1RemSetArrayOfCardsEntries with valid value '-server -XX:+UseG1GC -XX:G1RemSetArrayOfCardsEntries=65536'! JVM output reports a fatal error. JVM exited with code 134 [0x86]!
stdout content[#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/home/shade/trunks/jdk/src/hotspot/share/runtime/flags/jvmFlagAccess.cpp:118), pid=1383064, tid=1383070
# fatal error: FLAG_SET_ERGO cannot be used to set an invalid value for G1RemSetArrayOfCardsEntries
#
# JRE version: (22.0) (fastdebug build )
# Java VM: OpenJDK Server VM (fastdebug 22-internal-adhoc.shade.jdk, mixed mode, sharing, tiered, g1 gc, linux-x86)
# Problematic frame:
# V [libjvm.so+0xdce35a] RangedFlagAccessImpl<double, EventDoubleFlagChanged>::set_impl(JVMFlag*, void*, JVMFlagOrigin) const [clone .part.0]+0x1a
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/shade/trunks/jdk/build/linux-x86-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_runtime_CommandLine_OptionsValidation_TestOptionsWithRanges_java/scratch/1/core.1383064)
#
# An error report file with more information is saved as:
# /home/shade/trunks/jdk/build/linux-x86-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_runtime_CommandLine_OptionsValidation_TestOptionsWithRanges_java/scratch/1/hs_err_pid1383064.log
#
#
]
stderr content[uint G1RemSetArrayOfCardsEntries=65538 is outside the allowed range [ 0 ... 65536 ]
]
java.lang.RuntimeException: 1 tests failed! (Error processing option G1RemSetArrayOfCardsEntries with valid value '-server -XX:+UseG1GC -XX:G1RemSetArrayOfCardsEntries=65536'! JVM output reports a fatal error. JVM exited with code 134 [0x86]!)
: expected 1 to equal 0
at jdk.test.lib.Asserts.fail(Asserts.java:634)
at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
at jdk.test.lib.Asserts.assertEQ(Asserts.java:178)
at TestOptionsWithRanges.main(TestOptionsWithRanges.java:281)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1570)
STDERR:
TEST FAILED: Error processing option G1RemSetArrayOfCardsEntries with valid value '-server -XX:+UseG1GC -XX:G1RemSetArrayOfCardsEntries=65536'! JVM output reports a fatal error. JVM exited with code 134 [0x86]!
stdout content[#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (/home/shade/trunks/jdk/src/hotspot/share/runtime/flags/jvmFlagAccess.cpp:118), pid=1383064, tid=1383070
# fatal error: FLAG_SET_ERGO cannot be used to set an invalid value for G1RemSetArrayOfCardsEntries
#
# JRE version: (22.0) (fastdebug build )
# Java VM: OpenJDK Server VM (fastdebug 22-internal-adhoc.shade.jdk, mixed mode, sharing, tiered, g1 gc, linux-x86)
# Problematic frame:
# V [libjvm.so+0xdce35a] RangedFlagAccessImpl<double, EventDoubleFlagChanged>::set_impl(JVMFlag*, void*, JVMFlagOrigin) const [clone .part.0]+0x1a
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/shade/trunks/jdk/build/linux-x86-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_runtime_CommandLine_OptionsValidation_TestOptionsWithRanges_java/scratch/1/core.1383064)
#
# An error report file with more information is saved as:
# /home/shade/trunks/jdk/build/linux-x86-server-fastdebug/test-support/jtreg_test_hotspot_jtreg_runtime_CommandLine_OptionsValidation_TestOptionsWithRanges_java/scratch/1/hs_err_pid1383064.log
#
#
]
stderr content[uint G1RemSetArrayOfCardsEntries=65538 is outside the allowed range [ 0 ... 65536 ]
]
java.lang.RuntimeException: 1 tests failed! (Error processing option G1RemSetArrayOfCardsEntries with valid value '-server -XX:+UseG1GC -XX:G1RemSetArrayOfCardsEntries=65536'! JVM output reports a fatal error. JVM exited with code 134 [0x86]!)
: expected 1 to equal 0
at jdk.test.lib.Asserts.fail(Asserts.java:634)
at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
at jdk.test.lib.Asserts.assertEQ(Asserts.java:178)
at TestOptionsWithRanges.main(TestOptionsWithRanges.java:281)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1570)