Community
Participate
Working Groups
Build ID: Eclipse 3.4M5 Steps To Reproduce: Currently the Worker Job thread pool for running Jobs has names set like Worker-X. Some profilers (like YourKit 7.0) now can do lock and monitor profiling. It groups the timing information by thread name. It would make debugging a LOT nicer if the name of the Worker Thread was set to the Name of the Job. Not only will this make profiling easier, but it will help find the right Thread in the Java debugger when looking for an executing Job. More information:
We explored setting worker thread names, but it results in confusion because there is no event sent to the debugger when a thread name changes, so it will always be showing a stale value. The result is worse than no name at all, because you can't trust that the name you see is not stale. See similar discussion in bug 135610.
*** Bug 266249 has been marked as a duplicate of this bug. ***
Attempting once more for this bug. I often have the problem that I have a debug session of an Eclipse product which has >20 Worker threads in the pool and one Job is taking long time. After suspending, I have no way of telling which of the Workers is currently executing a job and which is currently idle and waiting for work. Missing support in the JDT Debug View to update the shown thread names should not be the reason for not implementing this feature in Platform. I'll provide a Gerrit Patch shortly.
New Gerrit change created: https://git.eclipse.org/r/113176
(In reply to Eclipse Genie from comment #4) > New Gerrit change created: https://git.eclipse.org/r/113176 I've voted -2 on the patch, and created bug 528808 which need to be fixed first. If you want the patch to be accepted, and this bug to be fixed, please consider to contribute to bug 528808 solution.
Thanks Stefan for the patch. As discussed on the hackathon, having Bug 528808 fixed would be desired so that this can be applied savely. Could you also work on Bug 528808?
(In reply to Lars Vogel from comment #6) > Thanks Stefan for the patch. As discussed on the hackathon, having Bug > 528808 fixed would be desired so that this can be applied savely. Could you > also work on Bug 528808? Bug 528808 has already a patch, which only waits for a review.
(In reply to Andrey Loskutov from comment #7) > Bug 528808 has already a patch, which only waits for a review. Thanks, not sure why I did not see it before. Maybe an out-of-date tab in my browser, which I used to "check".
Gerrit change https://git.eclipse.org/r/113176 was merged to [master]. Commit: http://git.eclipse.org/c/platform/eclipse.platform.runtime.git/commit/?id=cd4ec8acfb0ed785ec2d545ee377770ec7fc0de4
Stefan, please add an entry to N&N.
(In reply to Andrey Loskutov from comment #10) > Stefan, please add an entry to N&N. Done via https://git.eclipse.org/r/115457