Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8313955 | 8u401 | Ivan Bereziuk | P3 | Resolved | Fixed | b01 |
G1 asserts with
G1: assert(rp->num_q() == no_of_gc_workers) failed: sanity
running the following program
public class GCTest {
private static byte[] garbage;
public static void main(String [] args) {
System.out.println("Creating garbage");
// create 128MB of garbage. This should result in at least one GC
for (int i = 0; i < 1024; i++) {
garbage = new byte[128 * 1024];
}
System.out.println("Done");
}
}
with
-Xmx10m -XX:+UseG1GC -XX:+UseDynamicNumberOfGCThreads -XX:+ParallelRefProcEnabled
Seems to be a re-appearance ofJDK-8055250.
Reported by G. Lindenmaier in the following mail to hotspot-gc-dev:
http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/2016-February/016481.html
The suggestion there is to add this case to gc/ergonomics/TestDynamicNumberOfGCThreads.java
G1: assert(rp->num_q() == no_of_gc_workers) failed: sanity
running the following program
public class GCTest {
private static byte[] garbage;
public static void main(String [] args) {
System.out.println("Creating garbage");
// create 128MB of garbage. This should result in at least one GC
for (int i = 0; i < 1024; i++) {
garbage = new byte[128 * 1024];
}
System.out.println("Done");
}
}
with
-Xmx10m -XX:+UseG1GC -XX:+UseDynamicNumberOfGCThreads -XX:+ParallelRefProcEnabled
Seems to be a re-appearance of
Reported by G. Lindenmaier in the following mail to hotspot-gc-dev:
http://mail.openjdk.java.net/pipermail/hotspot-gc-dev/2016-February/016481.html
The suggestion there is to add this case to gc/ergonomics/TestDynamicNumberOfGCThreads.java
- backported by
-
JDK-8313955 assert(rp->num_q() == no_of_gc_workers) failed: sanity
- Resolved
- relates to
-
JDK-8055250 G1: assert(rp->num_q() == no_of_gc_workers) failed: sanity
- Closed
-
JDK-8145092 Use Unified Logging for the GC logging
- Resolved