RFR(XS) 8139876: Exclude hanging nsk/stress/stack from execution with deoptimization enabled

Leonid Mesnik leonid.mesnik at oracle.com
Wed Jul 11 00:13:03 UTC 2018


Could you please review following fix which add run nsk/stress/stack/* tests only when DeoptimizeALot is disabled. 
The reason of exclusion is same as for 
JDK-8172854 <https://bugs.openjdk.java.net/browse/JDK-8172854>[TESTBUG] Exclude runtime/ReservedStack/ReservedStackTest.java from being run with DeoptimizeALot option
Tests create a lot of recursive calls to trigger stack overflow. Running tests with DeoptimizeALot increase time significantly. (Up to 10 hours...)

Also fix slightly update tests  runtime/ReservedStack/* to use correct option name. I occasionally found that test still executed after JDK-8172854 <https://bugs.openjdk.java.net/browse/JDK-8172854> because of typo "Alot" instead of "ALot".

webrev: http://cr.openjdk.java.net/~lmesnik/8139876/webrev.00/ <http://cr.openjdk.java.net/~lmesnik/8139876/webrev.00/>
bug: https://bugs.openjdk.java.net/browse/JDK-8139876 <https://bugs.openjdk.java.net/browse/JDK-8139876>

Please note that bug 
JDK-819988 <https://bugs.openjdk.java.net/browse/JDK-8199888>[TESTBUG] fromTonga/nsk/stress/stack tests fail by timeout when -Xcomp is used
is different. The tests hang with Xcomp intermittently and this issue require additional investigation and fix.


More information about the hotspot-runtime-dev mailing list