Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Profiler: An additional PriorityScheduler stack is not being identified as idle #271

Closed
jentfoo opened this issue Sep 2, 2020 · 1 comment

Comments

@jentfoo
Copy link
Member

jentfoo commented Sep 2, 2020

This stack was not being auto detected as being idle, even though idle stack 1 and 2 was present in the sample also.

   at java.base@10.0.2/jdk.internal.misc.Unsafe.park(Native Method)
   at java.base@10.0.2/java.util.concurrent.locks.LockSupport.park(LockSupport.java:323)
   at org.threadly.concurrent.PriorityScheduler$WorkerPool.workerIdle(PriorityScheduler.java:819)
   at org.threadly.concurrent.PriorityScheduler$Worker.run(PriorityScheduler.java:952)
   at java.base@10.0.2/java.lang.Thread.run(Thread.java:844)
@jentfoo jentfoo added the bug label Sep 2, 2020
@jentfoo
Copy link
Member Author

jentfoo commented Sep 3, 2020

This third stack is a stack witnessed when the scheduler is attempting to avoid starting an additional thread. This is a much harder stack to capture, so marking as wont fix unless someone feels this is a significant annoyance.

@jentfoo jentfoo closed this as completed Sep 3, 2020
@jentfoo jentfoo added the wontfix label Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant