8337165: Test jdk/jfr/event/gc/stacktrace/TestG1YoungAllocationPendingStackTrace.java failed: IndexOutOfBoundsException: Index 64 out of bounds for length 64

Reviewed-by: phh
This commit is contained in:
Erik Gahlin 2024-07-29 09:52:38 +00:00
parent db168d9e10
commit 9124a94e38
10 changed files with 30 additions and 11 deletions

@ -29,7 +29,9 @@ package jdk.jfr.event.gc.stacktrace;
*
* @requires vm.gc == "null" | vm.gc == "Serial"
* @library /test/lib /test/jdk
* @run main/othervm -XX:+UseSerialGC -Xlog:gc* jdk.jfr.event.gc.stacktrace.TestDefNewAllocationPendingStackTrace
* @run main/othervm -XX:+UseSerialGC -Xlog:gc*
* -XX:FlightRecorderOptions:stackdepth=256
* jdk.jfr.event.gc.stacktrace.TestDefNewAllocationPendingStackTrace
*/
public class TestDefNewAllocationPendingStackTrace {

@ -29,7 +29,9 @@ package jdk.jfr.event.gc.stacktrace;
*
* @requires vm.gc == "null" | vm.gc == "G1"
* @library /test/lib /test/jdk
* @run main/othervm -XX:+UseG1GC -Xlog:gc* -Xmx64M -XX:InitiatingHeapOccupancyPercent=100 jdk.jfr.event.gc.stacktrace.TestG1HumongousAllocationPendingStackTrace
* @run main/othervm -XX:+UseG1GC -Xlog:gc* -Xmx64M -XX:InitiatingHeapOccupancyPercent=100
* -XX:FlightRecorderOptions:stackdepth=256
* jdk.jfr.event.gc.stacktrace.TestG1HumongousAllocationPendingStackTrace
*/
public class TestG1HumongousAllocationPendingStackTrace {

@ -29,7 +29,9 @@ package jdk.jfr.event.gc.stacktrace;
*
* @requires vm.gc == "null" | vm.gc == "G1"
* @library /test/lib /test/jdk
* @run main/othervm -XX:MaxNewSize=10M -Xmx128M -XX:+UseG1GC -Xlog:gc* jdk.jfr.event.gc.stacktrace.TestG1OldAllocationPendingStackTrace
* @run main/othervm -XX:MaxNewSize=10M -Xmx128M -XX:+UseG1GC -Xlog:gc*
* -XX:FlightRecorderOptions:stackdepth=256
* jdk.jfr.event.gc.stacktrace.TestG1OldAllocationPendingStackTrace
*/
public class TestG1OldAllocationPendingStackTrace {

@ -29,7 +29,9 @@ package jdk.jfr.event.gc.stacktrace;
*
* @requires vm.gc == "null" | vm.gc == "G1"
* @library /test/lib /test/jdk
* @run main/othervm -XX:+UseG1GC -Xlog:gc* jdk.jfr.event.gc.stacktrace.TestG1YoungAllocationPendingStackTrace
* @run main/othervm -XX:+UseG1GC -Xlog:gc*
* -XX:FlightRecorderOptions:stackdepth=256
* jdk.jfr.event.gc.stacktrace.TestG1YoungAllocationPendingStackTrace
*/
public class TestG1YoungAllocationPendingStackTrace {

@ -29,7 +29,9 @@ package jdk.jfr.event.gc.stacktrace;
*
* @requires vm.gc == "null" | vm.gc == "Serial"
* @library /test/lib /test/jdk
* @run main/othervm -XX:MaxNewSize=10M -Xmx64M -XX:+UseSerialGC -Xlog:gc* jdk.jfr.event.gc.stacktrace.TestMarkSweepCompactAllocationPendingStackTrace
* @run main/othervm -XX:MaxNewSize=10M -Xmx64M -XX:+UseSerialGC -Xlog:gc*
* -XX:FlightRecorderOptions:stackdepth=256
* jdk.jfr.event.gc.stacktrace.TestMarkSweepCompactAllocationPendingStackTrace
*/
public class TestMarkSweepCompactAllocationPendingStackTrace {

@ -28,9 +28,10 @@ package jdk.jfr.event.gc.stacktrace;
*
* @requires vm.gc == "null" | vm.gc == "G1"
* @library /test/lib /test/jdk
* @run main/othervm -XX:+UseG1GC -Xlog:gc* -XX:MaxMetaspaceSize=64M jdk.jfr.event.gc.stacktrace.TestMetaspaceG1GCAllocationPendingStackTrace
* @run main/othervm -XX:+UseG1GC -Xlog:gc* -XX:MaxMetaspaceSize=64M
* -XX:FlightRecorderOptions:stackdepth=256
* jdk.jfr.event.gc.stacktrace.TestMetaspaceG1GCAllocationPendingStackTrace
*/
public class TestMetaspaceG1GCAllocationPendingStackTrace {
public static void main(String[] args) throws Exception {

@ -29,7 +29,9 @@ package jdk.jfr.event.gc.stacktrace;
*
* @requires vm.gc == "null" | vm.gc == "Parallel"
* @library /test/lib /test/jdk
* @run main/othervm -XX:+UseParallelGC -Xlog:gc* -XX:MaxMetaspaceSize=64M jdk.jfr.event.gc.stacktrace.TestMetaspaceParallelGCAllocationPendingStackTrace
* @run main/othervm -XX:+UseParallelGC -Xlog:gc* -XX:MaxMetaspaceSize=64M
* -XX:FlightRecorderOptions:stackdepth=256
* jdk.jfr.event.gc.stacktrace.TestMetaspaceParallelGCAllocationPendingStackTrace
*/
public class TestMetaspaceParallelGCAllocationPendingStackTrace {

@ -29,7 +29,9 @@ package jdk.jfr.event.gc.stacktrace;
*
* @requires vm.gc == "null" | vm.gc == "Serial"
* @library /test/lib /test/jdk
* @run main/othervm -XX:+UseSerialGC -Xlog:gc* -XX:MaxMetaspaceSize=64M jdk.jfr.event.gc.stacktrace.TestMetaspaceSerialGCAllocationPendingStackTrace
* @run main/othervm -XX:+UseSerialGC -Xlog:gc* -XX:MaxMetaspaceSize=64M
* -XX:FlightRecorderOptions:stackdepth=256
* jdk.jfr.event.gc.stacktrace.TestMetaspaceSerialGCAllocationPendingStackTrace
*/
public class TestMetaspaceSerialGCAllocationPendingStackTrace {

@ -29,7 +29,9 @@ package jdk.jfr.event.gc.stacktrace;
*
* @requires vm.gc == "null" | vm.gc == "Parallel"
* @library /test/lib /test/jdk
* @run main/othervm -XX:MaxNewSize=10M -Xmx64M -XX:+UseParallelGC -Xlog:gc* jdk.jfr.event.gc.stacktrace.TestParallelMarkSweepAllocationPendingStackTrace
* @run main/othervm -XX:MaxNewSize=10M -Xmx64M -XX:+UseParallelGC -Xlog:gc*
* -XX:FlightRecorderOptions:stackdepth=256
* jdk.jfr.event.gc.stacktrace.TestParallelMarkSweepAllocationPendingStackTrace
*/
public class TestParallelMarkSweepAllocationPendingStackTrace {

@ -29,7 +29,9 @@ package jdk.jfr.event.gc.stacktrace;
*
* @requires vm.gc == "null" | vm.gc == "Parallel"
* @library /test/lib /test/jdk
* @run main/othervm -XX:+UseParallelGC -Xlog:gc* jdk.jfr.event.gc.stacktrace.TestParallelScavengeAllocationPendingStackTrace
* @run main/othervm -XX:+UseParallelGC -Xlog:gc*
* -XX:FlightRecorderOptions:stackdepth=256
* jdk.jfr.event.gc.stacktrace.TestParallelScavengeAllocationPendingStackTrace
*/
public class TestParallelScavengeAllocationPendingStackTrace {