Java.lang.VirtualMachineError is thrown when Java virtual machine encounters any internal error or resource limitation which prevents it from functioning. It's a self-defensive mechanism employed by JVM to prevent entire application from crashing. In this article lets discuss different types of... Continue Reading →
Non-daemon threads are also known as 'user' threads. JVM will not exit even if only 1 non-daemon (i.e. user) thread is alive. On the other hand, JVM will exit even if multiple daemon threads are alive. When JVM halts, daemon... Continue Reading →