What is the depth of the call stack before I get a StackOverflowError? Is there any kind of answer platform dependency?
Well, there is no definite depth. It just depends on the amount of virtual memory that has been allocated to the stack.
If you wish, you can tune it using:
-Xss VM parameter
The Thread(ThreadGroup, Runnable, String, long) constructor.
32-bit JVMs which expect to have a ...READ MORE
If you're looking for an alternative that ...READ MORE
Whenever you require to explore the constructor ...READ MORE
You can convert a number into String ...READ MORE
I think it is most useful as ...READ MORE
This is the recursive way of finding a ...READ MORE
According to Effective Java, chapter 4, page 73, ...READ MORE
Parameters and local variables are allocated on ...READ MORE
Let me give you the complete explanation ...READ MORE
Well, you can check it by using Integer.MAX_VALUE ...READ MORE