RFR: 8183545: Event tracing, transition hooks
robbin.ehn at oracle.com
Wed Jul 5 12:28:38 UTC 2017
This patch adds a new bit in suspend flag for the tracing backend.
Thus tracing backend can suspend threads on certain transitions.
(David H and Dan D have looked at this, that's why they are on CC)
I have also put in a oneliner in:
Which adds Threads_lock->owned_by_self() to the assert.
Threads_lock->owned_by_self() give the same guarantees as is_Watcher_thread(), e.g. there is no safepoint.
If you really insist I can put the oneliner in a separate issue, but the tracing backend changes depends on both.
Test: openjdk build on Linux x64
More information about the hotspot-runtime-dev