Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Fix parser for remote thread dumps#10

Merged
walles merged 2 commits into
spotify:gh-pagesfrom
rconn01:remote-threadumps
Mar 1, 2016
Merged

Fix parser for remote thread dumps#10
walles merged 2 commits into
spotify:gh-pagesfrom
rconn01:remote-threadumps

Conversation

@rconn01
Copy link
Copy Markdown

@rconn01 rconn01 commented Feb 29, 2016

fixes #7

A threads header string is different when it is taken remotely via jvisual vm. Specifically the metadata info that follows a thread name is missing. Such as

daemon prio=5 os_prio=31 tid=0x00007fc1dc06e000 nid=0x5b03 runnable [0x00000001266ee000]

Instead the thread is only given a simple thread id in the form 't@X' where X is a hex number. Example

- Thread t@151

This PR fixes the parser to check for both header styles

Raymond Conn added 2 commits February 28, 2016 20:50
…mote thread dump is captured the os thread information is missing
walles added a commit that referenced this pull request Mar 1, 2016
Fix parser for remote thread dumps
@walles walles merged commit c3a2713 into spotify:gh-pages Mar 1, 2016
@walles
Copy link
Copy Markdown
Contributor

walles commented Mar 1, 2016

Just splendid, with tests and everything, thanks a lot Raymond!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Only finds one thread

2 participants