changeset 55672:c659942fc471

8227582: runtime/TLS/testtls.sh fails on x86_32 Summary: Disable the negative test case for regular testing. Reviewed-by: shade
author jiangli
date Fri, 12 Jul 2019 10:39:19 -0700
parents d755f53becea
children 0bf678dd8951
files test/hotspot/jtreg/runtime/TLS/testtls.sh
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/test/hotspot/jtreg/runtime/TLS/testtls.sh	Fri Jul 12 02:50:43 2019 -0700
+++ b/test/hotspot/jtreg/runtime/TLS/testtls.sh	Fri Jul 12 10:39:19 2019 -0700
@@ -43,5 +43,10 @@
 
 # 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 $?