-
Bug
-
Resolution: Fixed
-
P3
-
8u72, 9
-
b110
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8156267 | 8u111 | Andreas Eriksson | P3 | Resolved | Fixed | b01 |
JDK-8150716 | 8u102 | Andreas Eriksson | P3 | Resolved | Fixed | b01 |
JDK-8162064 | emb-8u111 | Unassigned | P3 | Resolved | Fixed | b01 |
import java.io.IOException;
import java.util.Arrays;
public class Main {
public static void main(String[] args) throws IOException {
while (true) {
System.in.read();
Integer[] array = new Integer[0]; //breakpoint here
//Arrays.stream(array).filter(i -> i % 2 == 0);
}
}
}
Steps to reproduce:
1. run in debug mode
2. uncomment the line with Arrays...
3. compile/hot swap
4. add a breakpoint
Crash
Fastdebug build fails with assert:
# assert(i >= 0 && i< _length) failed: oob: 0 <= 2 < 2
At GetClassMethods:2283
int original_index = instanceK_h->method_ordering()->at(index);
V [libjvm.so+0x968bfd] report_vm_error(char const*, int, char const*, char const*, ...)+0xdd
V [libjvm.so+0xe2cd70] JvmtiEnv::GetClassMethods(oop, int*, _jmethodID***)+0x3c0
V [libjvm.so+0xdcc7e7] jvmti_GetClassMethods+0x207
C [libjdwp.so+0x731b] methods1+0x7b
C [libjdwp.so+0x1101c] debugLoop_run+0x27c
C [libjdwp.so+0x22ec5] attachThread+0x25
V [libjvm.so+0xe572a8] JvmtiAgentThread::call_start_function()+0x158
V [libjvm.so+0x13425b9] JavaThread::thread_main_inner()+0x1c9
V [libjvm.so+0x1342816] JavaThread::run()+0x1c6
V [libjvm.so+0x10cd612] java_start(Thread*)+0xd2
C [libpthread.so.0+0x74a4] start_thread+0xc4
import java.util.Arrays;
public class Main {
public static void main(String[] args) throws IOException {
while (true) {
System.in.read();
Integer[] array = new Integer[0]; //breakpoint here
//Arrays.stream(array).filter(i -> i % 2 == 0);
}
}
}
Steps to reproduce:
1. run in debug mode
2. uncomment the line with Arrays...
3. compile/hot swap
4. add a breakpoint
Crash
Fastdebug build fails with assert:
# assert(i >= 0 && i< _length) failed: oob: 0 <= 2 < 2
At GetClassMethods:2283
int original_index = instanceK_h->method_ordering()->at(index);
V [libjvm.so+0x968bfd] report_vm_error(char const*, int, char const*, char const*, ...)+0xdd
V [libjvm.so+0xe2cd70] JvmtiEnv::GetClassMethods(oop, int*, _jmethodID***)+0x3c0
V [libjvm.so+0xdcc7e7] jvmti_GetClassMethods+0x207
C [libjdwp.so+0x731b] methods1+0x7b
C [libjdwp.so+0x1101c] debugLoop_run+0x27c
C [libjdwp.so+0x22ec5] attachThread+0x25
V [libjvm.so+0xe572a8] JvmtiAgentThread::call_start_function()+0x158
V [libjvm.so+0x13425b9] JavaThread::thread_main_inner()+0x1c9
V [libjvm.so+0x1342816] JavaThread::run()+0x1c6
V [libjvm.so+0x10cd612] java_start(Thread*)+0xd2
C [libpthread.so.0+0x74a4] start_thread+0xc4
- backported by
-
JDK-8150716 JVM crash after debugger hotswap with lambdas
-
- Resolved
-
-
JDK-8156267 JVM crash after debugger hotswap with lambdas
-
- Resolved
-
-
JDK-8162064 JVM crash after debugger hotswap with lambdas
-
- Resolved
-
- duplicates
-
JDK-5060160 RedefineClasses should swap _method_ordering IK field
-
- Closed
-
- relates to
-
JDK-8151064 com/sun/jdi/RedefineAddPrivateMethod.sh fails intermittently
-
- Resolved
-
-
JDK-5060160 RedefineClasses should swap _method_ordering IK field
-
- Closed
-
(1 relates to)