-
Enhancement
-
Resolution: Duplicate
-
P4
-
20
Now running a JDK with glibc 2.27+ leads to less usable stack space due to the workaround code. We have observed JVM crashes with internal tests due to their high usage of stack space and the workaround code. Ideally we should avoid applying the workaround code for glibc 2.27+.
Several options are:
- Automatically detect glibc version, then apply the workaround depending on glibc version. We have an internal patch that does this, but it adds code complexity and is perhaps a bit overkill.
- Add a JVM flag so that users could disable the workaround if needed.
- Do nothing for now, and remove the workaround code once OpenJDK stops supporting glibc prior to 2.27.
- duplicates
-
JDK-8229147 Linux os::create_thread() overcounts guardpage size with newer glibc (>=2.27)
- Resolved
- relates to
-
JDK-8169373 Work around linux NPTL stack guard error
- Resolved