Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does the asterisk on Thread ID means?

I am debugging an Android Project and notice that there are asterisks on some of the Thread ID. What is it for?

enter image description here

like image 832
Shizuka Masuda Avatar asked Dec 13 '25 21:12

Shizuka Masuda


1 Answers

Daemon threads are shown with an asterisk (*). This will be one of the following:

  • running - executing application code
  • sleeping - called Thread.sleep()
  • monitor - waiting to acquire a monitor lock
  • wait - in Object.wait()

  • native - executing native code

  • vmwait - waiting on a VM resource

  • zombie - thread is in the process of dying

  • init - thread is initializing (you shouldn't see this)

you can read more about here

like image 58
Anirudha Agashe Avatar answered Dec 15 '25 10:12

Anirudha Agashe



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!