-
Bug
-
Resolution: Fixed
-
P4
-
24
-
b09
...
[0.342s][info][gc,metaspace] GC(0) Metaspace: 5308K(5504K)->5308K(5504K) NonClass: 4707K(4800K)->4707K(4800K) Class: 601K(704K)->601K(704K)
[0.342s][info][gc ] GC(0) Pause Young (Normal) (G1 Evacuation Pause) 25M->4M(258M) 2.199ms
[0.342s][info][gc,cpu ] GC(0) User=0.00s Sys=0.00s Real=0.00s
Allocation num: 127
GC detected: 1
JFR GC events found: 1
Event: jdk.AllocationRequiringGC {
startTime = 02:47:06.071 (2024-07-25)
gcId = 0
size = 491.6 kB
eventThread = "MainThread" (javaThreadId = 20)
stackTrace = [
java.util.Arrays.copyOfRange(byte[], int, int) line: 3846
java.lang.String.<init>(AbstractStringBuilder, Void) line: 4889
java.lang.StringBuilder.toString() line: 478
java.lang.Class.descriptorString() line: 4667
java.lang.invoke.InvokerBytecodeGenerator.classDesc(Class) line: 1691
...
]
}
[0.419s][info][gc,heap,exit] Heap
[0.419s][info][gc,heap,exit] garbage-first heap total reserved 786432K, committed 264192K, used 11556K [0x00000007d0000000, 0x0000000800000000)
[0.419s][info][gc,heap,exit] region size 1024K, 11 young (11264K), 3 survivors (3072K)
[0.419s][info][gc,heap,exit] Metaspace used 6322K, committed 6592K, reserved 1114112K
[0.419s][info][gc,heap,exit] class space used 708K, committed 832K, reserved 1048576K
----------System.err:(16/1251)----------
java.lang.ArrayIndexOutOfBoundsException: Index 64 out of bounds for length 64
at java.base/java.util.Arrays$ArrayList.get(Arrays.java:4227)
at jdk.jfr.event.gc.stacktrace.AllocationStackTrace.matchingStackTrace(AllocationStackTrace.java:418)
at jdk.jfr.event.gc.stacktrace.AllocationStackTrace.allocAndCheck(AllocationStackTrace.java:398)
at jdk.jfr.event.gc.stacktrace.AllocationStackTrace.testAllocEvent(AllocationStackTrace.java:343)
at jdk.jfr.event.gc.stacktrace.AllocationStackTrace.testG1YoungAllocEvent(AllocationStackTrace.java:268)
at jdk.jfr.event.gc.stacktrace.TestG1YoungAllocationPendingStackTrace.main(TestG1YoungAllocationPendingStackTrace.java:37)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:588)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1575)
[0.342s][info][gc,metaspace] GC(0) Metaspace: 5308K(5504K)->5308K(5504K) NonClass: 4707K(4800K)->4707K(4800K) Class: 601K(704K)->601K(704K)
[0.342s][info][gc ] GC(0) Pause Young (Normal) (G1 Evacuation Pause) 25M->4M(258M) 2.199ms
[0.342s][info][gc,cpu ] GC(0) User=0.00s Sys=0.00s Real=0.00s
Allocation num: 127
GC detected: 1
JFR GC events found: 1
Event: jdk.AllocationRequiringGC {
startTime = 02:47:06.071 (2024-07-25)
gcId = 0
size = 491.6 kB
eventThread = "MainThread" (javaThreadId = 20)
stackTrace = [
java.util.Arrays.copyOfRange(byte[], int, int) line: 3846
java.lang.String.<init>(AbstractStringBuilder, Void) line: 4889
java.lang.StringBuilder.toString() line: 478
java.lang.Class.descriptorString() line: 4667
java.lang.invoke.InvokerBytecodeGenerator.classDesc(Class) line: 1691
...
]
}
[0.419s][info][gc,heap,exit] Heap
[0.419s][info][gc,heap,exit] garbage-first heap total reserved 786432K, committed 264192K, used 11556K [0x00000007d0000000, 0x0000000800000000)
[0.419s][info][gc,heap,exit] region size 1024K, 11 young (11264K), 3 survivors (3072K)
[0.419s][info][gc,heap,exit] Metaspace used 6322K, committed 6592K, reserved 1114112K
[0.419s][info][gc,heap,exit] class space used 708K, committed 832K, reserved 1048576K
----------System.err:(16/1251)----------
java.lang.ArrayIndexOutOfBoundsException: Index 64 out of bounds for length 64
at java.base/java.util.Arrays$ArrayList.get(Arrays.java:4227)
at jdk.jfr.event.gc.stacktrace.AllocationStackTrace.matchingStackTrace(AllocationStackTrace.java:418)
at jdk.jfr.event.gc.stacktrace.AllocationStackTrace.allocAndCheck(AllocationStackTrace.java:398)
at jdk.jfr.event.gc.stacktrace.AllocationStackTrace.testAllocEvent(AllocationStackTrace.java:343)
at jdk.jfr.event.gc.stacktrace.AllocationStackTrace.testG1YoungAllocEvent(AllocationStackTrace.java:268)
at jdk.jfr.event.gc.stacktrace.TestG1YoungAllocationPendingStackTrace.main(TestG1YoungAllocationPendingStackTrace.java:37)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:588)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1575)
- duplicates
-
JDK-8337164 Test jdk/jfr/event/gc/stacktrace/TestG1YoungAllocationPendingStackTrace.java failed: IndexOutOfBoundsException: Index 64 out of bounds for length 64
- Closed
- links to
-
Commit(master) openjdk/jdk/9124a94e
-
Review(master) openjdk/jdk23u/85
-
Review(master) openjdk/jdk/20360