From 24b025163bad617ce5307ca054e27ba69715e7a8 Mon Sep 17 00:00:00 2001 From: Jiangli Zhou Date: Fri, 12 Jul 2019 10:39:19 -0700 Subject: [PATCH] 8227582: runtime/TLS/testtls.sh fails on x86_32 Disable the negative test case for regular testing. Reviewed-by: shade --- test/hotspot/jtreg/runtime/TLS/testtls.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/test/hotspot/jtreg/runtime/TLS/testtls.sh b/test/hotspot/jtreg/runtime/TLS/testtls.sh index 59d78815dc9..8f467152328 100644 --- a/test/hotspot/jtreg/runtime/TLS/testtls.sh +++ b/test/hotspot/jtreg/runtime/TLS/testtls.sh @@ -43,5 +43,10 @@ export LD_LIBRARY_PATH # Test 1) Run with stack size adjusted for TLS ${TESTNATIVEPATH}/stack-tls -add_tls || exit $? -# Test 2) Run with no stack size adjustment -${TESTNATIVEPATH}/stack-tls || exit $? + +# Test 2) Run with no stack size adjustment and expect failure. +# +# Potential failures include StackOverflowError, thread creation failures, +# crashes, and etc. The test case can be used to demonstrate the TLS issue +# but is excluded from running in regular testing. +#${TESTNATIVEPATH}/stack-tls || exit $?