JDK-8242552 : Use system stack size with primordial thread
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 8u241
  • Priority: P4
  • Status: Closed
  • Resolution: Incomplete
  • OS: linux
  • CPU: x86_64
  • Submitted: 2020-01-29
  • Updated: 2020-04-13
  • Resolved: 2020-04-13
Related Reports
Relates :  
Relates :  
Description
ADDITIONAL SYSTEM INFORMATION :
System: Linux 64bits, OS: CentOS 7

A DESCRIPTION OF THE PROBLEM :
Like describe in https://bugs.java.com/bugdatabase/view_bug.do?bug_id=6316197, starting JVM from primordial thread interferes with native applications because of page guard in stack.
So, I suggest to use 'ulimit -s' value for stack size when starting JVM from primordial thread without setting '-Xss' option.



Comments
Is this actually a request to have JDK-8189170 backported? If so that happened for 8u192.
13-04-2020

Please explain what exactly you mean. We do not create the JVM in the primordial thread - that is what was changed in JDK-6316197. It has been recommended for a number of years now that no-one load the JVM in a primordial thread. If you continue to do that there can be a number of problems. Closing as "Incomplete" while we await more details on the exact nature of the issue.
13-04-2020

Forwarding to development team for evaluation
13-04-2020