I, Ross and Tom observed a stack overflow in a compiler thread method kill_dead_code()
when running fastdebug version of C2 on sol-x86.
The fastdebug VM stack frame size is larger then in product VM
but the problem could occure in product version also.
/tmp/kvn/jdk1.6.0/bin/java -server -XX:+VerifyGraphEdges -XX:+VerifyIterativeGVN -Xss4m -verify -XX:-ShowMessageBoxOnError -XX:+CompileTheWorld -XX:CompileTheWorldStartAt=1 -Xbootclasspath/p:/net/vmsqe.sfbay/export/backup/testbase/CompileTheWorld/jarfiles/JavaWebServer1.1.3.jar
...
CompileTheWorld (965) : mlsoft/mct/MlEKey
CompileTheWorld (966) : mlsoft/mct/MlResource
CompileTheWorld (967) : mlsoft/mct/MlGrid
/tmp/kvn/test/workdir/run.JavaWebServer1.1.3.jar.1.ksh[67]: 15796 Segmentation Fault
Exit Value 139
[t@11 l@11]: where
current thread: t@11
[1] Unique_Node_List::remove(this = ???, n = ???) (optimized), at 0xfe25cead (line ~1531) in "/net/jaberwocky/export/home2/work/6359849/src/share/vm/opto/node.cpp"
=>[2] kill_dead_code(dead = ???, igvn = ???) (optimized), at 0xfe259008 (line ~916) in "/net/jaberwocky/export/home2/work/6359849/src/share/vm/opto/node.cpp"
[3] kill_dead_code(dead = ???, igvn = ???) (optimized), at 0xfe25955c (line ~946) in "/net/jaberwocky/export/home2/work/6359849/src/share/vm/opto/node.cpp"
[4] kill_dead_code(dead = ???, igvn = ???) (optimized), at 0xfe25955c (line ~946) in "/net/jaberwocky/export/home2/work/6359849/src/share/vm/opto/node.cpp"
[5] kill_dead_code(dead = ???, igvn = ???) (optimized), at 0xfe25955c (line ~946) in "/net/jaberwocky/export/home2/work/6359849/src/share/vm/opto/node.cpp"