Shizuka Masuda
Shizuka Masuda

Reputation: 89

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

Upvotes: 3

Views: 553

Answers (1)

Anirudha Agashe
Anirudha Agashe

Reputation: 3530

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

Upvotes: 1

Related Questions