RFR (XS): 6661889: thread id on Linux is inconsistent in error and log outputs
jeremymanson at google.com
Wed Jul 29 20:34:55 UTC 2015
David, can you review/sponsor this, per our conversation of last week?
It fixes an issue where, on Linux, some of the Hotspot logging output
identifies threads by pthread_id, and some of it identifies threads by
kernel-level TID. This happened because Hotspot calls into two different
APIs that provide the thread ID, and developers seem to have picked which
one they call at random.
The CR makes these APIs consistently use the kernel-level TID, and makes
one of the APIs a thin shim over the other.
More information about the hotspot-runtime-dev