HotSpot VM 的虚拟机栈会发生OOM吗?

答案解析

会。栈空间不足时,除StackOverflowError外,也可能抛出OutOfMemoryError(无法分配新线程栈)。