Similar issue [JDK-8303549](https://bugs.openjdk.org/browse/JDK-8303549) where AttachCurrentThread is failing on AIX due t stack size issue. Test cases: runtime/jni/terminatedThread/TestTerminatedThread.java vmTestbase/nsk/jvmti/scenarios/jni_interception/JI05/ji05t001/TestDescription.java vmTestbase/nsk/jvmti/scenarios/jni_interception/JI06/ji06t001/TestDescription.java vmTestbase/nsk/jvmti/SetJNIFunctionTable/setjniftab001/TestDescription.java
Reported Issue : [JDK-8219652](https://bugs.openjdk.org/browse/JDK-8219652) ------------- Commit messages: - AttachCurrentThread() failure solution Changes: https://git.openjdk.org/jdk/pull/15924/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15924&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8219652 Stats: 181 lines in 5 files changed: 148 ins; 10 del; 23 mod Patch: https://git.openjdk.org/jdk/pull/15924.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/15924/head:pull/15924 PR: https://git.openjdk.org/jdk/pull/15924