The stack frame get corrupted after the redefine class.
Java code on the stack before Redefine Class.
[14] 0xf9c2b930(0xf18bd2f0, 0xf18bd2f0, 0x4, 0xf9c286ac, 0x8, 0xffbedd20), at 0xf9c2b92f
[15] 0xf9d4fc34(0xf18bd2f0, 0xf59bf0e0, 0x3, 0xf18bcf58, 0x9, 0x1), at 0xf9d4fc33
[16] 0xf9dd7968(0xf18bd2f0, 0xf18bd120, 0xffffffff, 0xffffffff, 0xffffffff, 0x1), at 0xf9dd7967
[17] 0xf9d49900(0xf18bd2f0, 0xf18bd2d8, 0xf591d298, 0xf591d2c8, 0xf591d298, 0x67), at 0xf9d498ff
[18] 0xf9c00528(0xffbedfdc, 0xffbee2d0, 0xa, 0xf591cdd8, 0xf9c0d7ac, 0xffbee1c8), at 0xf9c00527
Stack frame after redefine class:
[14] 0xf9c2b930(0xf18bd2f0, 0xf18bd2f0, 0x4, 0xf9c286ac, 0x8, 0xffbedd20), at 0xf9c2b92f
[15] 0xf9cb8b98(0xf18bd2f0, 0xf59bf0e0, 0x3, 0xf18bcf58, 0x9, 0xffbeddb0), at 0xf9cb8b97
[16] 0xf9cb8b98(0xf18bd2f0, 0xf18bd120, 0xffffffff, 0xffffffff, 0xffffffff, 0xffbede48), at 0xf9cb8b97
[17] 0xf9cb8b98(0xf18bd2f0, 0xf18bd2d8, 0xf591d298, 0xf591d2c8, 0xf591d298, 0xffbedef0), at 0xf9cb8b97
[18] 0xf9c00528(0xffbedfdc, 0xffbee2d0, 0xa, 0xf591cdd8, 0xf9c0d7ac, 0xffbee1c8), at 0xf9c00527
This stack corruption leads to JVM core dump.
This problem is reproduced using JDB and with a simple Java program.
The shell script attached with bug report can reproduce this problem.
- duplicates
-
JDK-4525714 jtreg test PopAsynchronousTest fails in build 85 with -Xcomp
- Resolved