How to get vm arguments from inside of java application?
- by Dmitriy Matveev
Hello, I need to check if some option which can be passed to JVM is explicitly set or is it have default value.
To be more specific: I need to create one specific thread with higher native stack size than the default one, but in case then user want to take care of such things by himself by specifying -Xss option I want to create all threads with default stack size (which will be specified by user in -Xss option).
I've checked classes like java.lang.System and java.lang.Runtime, but these aren't giving me information about vmargs. Is there any way to get information I need?