سؤال

I would like to know who manages the threads created by the JVM in Java?

هل كانت مفيدة؟

المحلول

The host operating system handles thread scheduling, preemption and the like in all recent HotSpot JVMs. The JVM only takes a direct hand in the decision to create and delete threads, and in the related area of synchronization.

نصائح أخرى

JVM manages the thread on host operating system. and OS manages the JVM. Read this about the JVM thread behavior

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top