title: What Does JDK Thread Constructor StackSize means?
body: <p>I set Thread stackSize=1, Then invoke three method. In my opinion, method stack is 3 or more. but why not occur Stackoverflow Exception? this is my code:</p>
  
  <pre><code>public class ExecutorsTest {
  private static void printOne() {
      System.out.println("do Print One");
      printTwo();
  }
  private static void printTwo() {
      System.out.println("do Print Two");
      printThree();
  }
  private static void printThree() {
      System.out.println("do Print Three");
  }
  public static void main(String[] args) throws Exception {
      ThreadGroup group = new ThreadGroup("thread-Group");
      Thread thread = new Thread(group, ()-&gt; {
          printOne();
      },"myThread",1);
      thread.start();
  }
  </code></pre>
  
  <p>}</p>
  
  <p><a href="https://i.stack.imgur.com/dQIto.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dQIto.png" alt="enter image description here"></a></p>