java - Mapping a missing native thread id to a thread dump -


how identify thread in java process when native thread id doesn't match of threads listed in thread dump?

context: running on windows, i'm using sysinternals process explorer monitor java.exe running tomcat host webapp use in our lab. we're watching because cpu profile has been crazy of late.

when server unresponsive, @ properties of java image, , switch thread tab, , order cpu column. there typically 1 tid - example 62504 - parked @ or near top of list. convert tid hex representation (f428), check thread dump - sure enough "vm thread" prio=10 tid=0x33d45000 nid=0xf428 runnable

that makes me think method mapping ids adequate.

but because we're focused on cpu right now, i'm interested in native thread 61136, in hour of running more 5 minutes of kernel time. 61136 -> 0xeed0, none of thread dumps ever include nid=0xeed0 entry.

edit: further testing reveals startaddress critical piece of information - of msvcr71.dll threads appear in dump or have short lifetime, threads in other modules (mswsock.dll, kernel32.dll) not appear. main thread comes java.exe, there other threads in module not appear in thread dump.

61136 -> 0xeed0 (that last 0 zero, not uppercase o). typo in post, or have made mistake in code/application?


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -