Prefer ThreadMXBean.dumpAllThreads
Parse tid and nid from thread dump
Add jvm runtime factory data test