DescriptionSupport thread name changes in trace event
This is needed for trace names to appear correctly on startup traces, as early threads start tracing before their name is set.
The thread local boolean was previously defeating the logic to detect name changes (the code was inaccessible), and we'd just permanently record early threads as having no name.
BUG=None
TEST=--trace-startup results in correct names in traces
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109439
Patch Set 1 #Patch Set 2 : fix spurious test statement #Patch Set 3 : fix mac #
Total comments: 8
Patch Set 4 : jbates & nduca comments #
Total comments: 2
Patch Set 5 : jar comment #Patch Set 6 : fix windows #Patch Set 7 : fix mac - can't pass NULL to PlatformName::SetName #
Messages
Total messages: 15 (0 generated)
|