| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:2e2289e3-b9a6-9168-6de6-27a9299cdd68 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 931C:3ADBCF:19C07E:233A05:6A4D56DA |
| html-safe-nonce | c1eb2f19f3c58220778fd00367c00396c4cd7655249b14f72739c91c55922c0c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzFDOjNBREJDRjoxOUMwN0U6MjMzQTA1OjZBNEQ1NkRBIiwidmlzaXRvcl9pZCI6IjY4MjU1MTMyMTE5ODgzNjcwNjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bc0bf46775b41d56db615bce72acd769cdcccabcd4e247345a348dcfe7e18a94 |
| hovercard-subject-tag | pull_request:3514221925 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/DataDog/java-profiler/462/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/288bd59ae4ca04255a6f9e04d2ebb1c78908f15fe6e140ad12b2bf08cb274554/DataDog/java-profiler/pull/462 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/288bd59ae4ca04255a6f9e04d2ebb1c78908f15fe6e140ad12b2bf08cb274554/DataDog/java-profiler/pull/462 |
| og:image:alt | What does this PR do?:
Centralize Java thread detection and improve thread state handling
Motivation:
Consolidate and cleanup code for consistence, maintainability and readability.
Additional Notes... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zhengyu123 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2a1443ff9733a3016431263ea73c93d8fe00c195eb4a7670ac30e7848f045441 |
| turbo-cache-control | no-cache |
| go-import | github.com/DataDog/java-profiler git https://github.com/DataDog/java-profiler.git |
| octolytics-dimension-user_id | 365230 |
| octolytics-dimension-user_login | DataDog |
| octolytics-dimension-repository_id | 585532470 |
| octolytics-dimension-repository_nwo | DataDog/java-profiler |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 585532470 |
| octolytics-dimension-repository_network_root_nwo | DataDog/java-profiler |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f3bdd3157ea1f0fd738d408eceeead721acf1dc3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/DataDog/java-profiler/pull/462#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FDataDog%2Fjava-profiler%2Fpull%2F462 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FDataDog%2Fjava-profiler%2Fpull%2F462 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=DataDog%2Fjava-profiler |
| Reload | https://github.com/DataDog/java-profiler/pull/462 |
| Reload | https://github.com/DataDog/java-profiler/pull/462 |
| Reload | https://github.com/DataDog/java-profiler/pull/462 |
| Please reload this page | https://github.com/DataDog/java-profiler/pull/462 |
|
DataDog
| https://github.com/DataDog |
| java-profiler | https://github.com/DataDog/java-profiler |
|
Notifications
| https://github.com/login?return_to=%2FDataDog%2Fjava-profiler |
|
Fork
12
| https://github.com/login?return_to=%2FDataDog%2Fjava-profiler |
|
Star
32
| https://github.com/login?return_to=%2FDataDog%2Fjava-profiler |
|
Code
| https://github.com/DataDog/java-profiler |
|
Issues
8
| https://github.com/DataDog/java-profiler/issues |
|
Pull requests
13
| https://github.com/DataDog/java-profiler/pulls |
|
Actions
| https://github.com/DataDog/java-profiler/actions |
|
Security and quality
0
| https://github.com/DataDog/java-profiler/security |
|
Insights
| https://github.com/DataDog/java-profiler/pulse |
|
Code
| https://github.com/DataDog/java-profiler |
|
Issues
| https://github.com/DataDog/java-profiler/issues |
|
Pull requests
| https://github.com/DataDog/java-profiler/pulls |
|
Actions
| https://github.com/DataDog/java-profiler/actions |
|
Security and quality
| https://github.com/DataDog/java-profiler/security |
|
Insights
| https://github.com/DataDog/java-profiler/pulse |
| zhengyu123 | https://github.com/zhengyu123 |
| main | https://github.com/DataDog/java-profiler/tree/main |
| zgu/java_thread | https://github.com/DataDog/java-profiler/tree/zgu/java_thread |
| Conversation | https://github.com/DataDog/java-profiler/pull/462 |
| Commits11 (11) | https://github.com/DataDog/java-profiler/pull/462/commits |
| Checks | https://github.com/DataDog/java-profiler/pull/462/checks |
| Files changed | https://github.com/DataDog/java-profiler/pull/462/files |
| Centralize Java thread detection and type-safe thread state handling | https://github.com/DataDog/java-profiler/pull/462#top |
| zhengyu123 | https://github.com/zhengyu123 |
| main | https://github.com/DataDog/java-profiler/tree/main |
| zgu/java_thread | https://github.com/DataDog/java-profiler/tree/zgu/java_thread |
|
| https://github.com/zhengyu123 |
| zhengyu123 | https://github.com/zhengyu123 |
| Apr 10, 2026 | https://github.com/DataDog/java-profiler/pull/462#issue-4239551077 |
| Please reload this page | https://github.com/DataDog/java-profiler/pull/462 |
| PROF-14160 | https://datadoghq.atlassian.net/browse/PROF-14160 |
| Please reload this page | https://github.com/DataDog/java-profiler/pull/462 |
| zhengyu123 | https://github.com/zhengyu123 |
| April 8, 2026 15:05 | https://github.com/DataDog/java-profiler/pull/462#commits-pushed-dd327b2 |
|
| https://github.com/zhengyu123 |
| v0 | https://github.com/DataDog/java-profiler/pull/462/commits/dd327b28cef55c109937b7490082621e02e0fa3c |
| dd327b2 | https://github.com/DataDog/java-profiler/pull/462/commits/dd327b28cef55c109937b7490082621e02e0fa3c |
|
| https://github.com/zhengyu123 |
| v1 | https://github.com/DataDog/java-profiler/pull/462/commits/c208d5fc5007a1edf62eecb8c12985be74f23eaa |
| c208d5f | https://github.com/DataDog/java-profiler/pull/462/commits/c208d5fc5007a1edf62eecb8c12985be74f23eaa |
|
| https://github.com/zhengyu123 |
| Merge | https://github.com/DataDog/java-profiler/pull/462/commits/72fd90bcfe49e56a99a5f6beb8cc0c39f8cab7be |
| 72fd90b | https://github.com/DataDog/java-profiler/pull/462/commits/72fd90bcfe49e56a99a5f6beb8cc0c39f8cab7be |
|
| https://github.com/zhengyu123 |
| v2 | https://github.com/DataDog/java-profiler/pull/462/commits/679d380734027dd7af9ba0c095d467c873e96b68 |
| 679d380 | https://github.com/DataDog/java-profiler/pull/462/commits/679d380734027dd7af9ba0c095d467c873e96b68 |
| https://github.com/apps/dd-octo-sts |
| dd-octo-sts | https://github.com/apps/dd-octo-sts |
| Apr 10, 2026 | https://github.com/DataDog/java-profiler/pull/462#issuecomment-4224380822 |
| Please reload this page | https://github.com/DataDog/java-profiler/pull/462 |
| #24268357704 | https://github.com/DataDog/java-profiler/actions/runs/24268357704 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872078 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872198 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872060 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872286 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872074 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872128 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872050 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872343 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872051 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872265 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872232 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872061 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872196 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872366 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872199 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872280 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872290 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872412 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872075 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872273 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872369 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872431 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872239 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872624 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872307 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872282 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872406 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872474 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872402 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872408 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872201 |
| ✅ | https://github.com/DataDog/java-profiler/actions/runs/24268357704/job/70871872090 |
| Please reload this page | https://github.com/DataDog/java-profiler/pull/462 |
| zhengyu123 | https://github.com/zhengyu123 |
| April 10, 2026 15:51 | https://github.com/DataDog/java-profiler/pull/462#commits-pushed-51ca0ec |
|
| https://github.com/zhengyu123 |
| v3 | https://github.com/DataDog/java-profiler/pull/462/commits/51ca0ecd54073ae50157040c932729592883bade |
| 51ca0ec | https://github.com/DataDog/java-profiler/pull/462/commits/51ca0ecd54073ae50157040c932729592883bade |
|
| https://github.com/zhengyu123 |
| v4 | https://github.com/DataDog/java-profiler/pull/462/commits/2fce97508ccd39258e2a3129e38b600ae9604011 |
| 2fce975 | https://github.com/DataDog/java-profiler/pull/462/commits/2fce97508ccd39258e2a3129e38b600ae9604011 |
|
| https://github.com/zhengyu123 |
| Fix spacing | https://github.com/DataDog/java-profiler/pull/462/commits/b6272f6c856a362a6da0243e6babfc34e12d7ae9 |
| b6272f6 | https://github.com/DataDog/java-profiler/pull/462/commits/b6272f6c856a362a6da0243e6babfc34e12d7ae9 |
|
| https://github.com/zhengyu123 |
| v5 | https://github.com/DataDog/java-profiler/pull/462/commits/b64603975139340bbc9c0c427d836f4bd410b53a |
| b646039 | https://github.com/DataDog/java-profiler/pull/462/commits/b64603975139340bbc9c0c427d836f4bd410b53a |
|
| https://github.com/zhengyu123 |
| v6 | https://github.com/DataDog/java-profiler/pull/462/commits/acf3b6bb2be34a823762d0e5a37372aaec8e8a89 |
| acf3b6b | https://github.com/DataDog/java-profiler/pull/462/commits/acf3b6bb2be34a823762d0e5a37372aaec8e8a89 |
|
| https://github.com/zhengyu123 |
| Cleanup | https://github.com/DataDog/java-profiler/pull/462/commits/d86e1aeb9b416c6bf648d9f1401b6bd6ba6f40d7 |
| d86e1ae | https://github.com/DataDog/java-profiler/pull/462/commits/d86e1aeb9b416c6bf648d9f1401b6bd6ba6f40d7 |
|
| https://github.com/zhengyu123 |
| More cleanup | https://github.com/DataDog/java-profiler/pull/462/commits/de7dd3f5d09ab221d15dd474277c398aad6c5b64 |
| de7dd3f | https://github.com/DataDog/java-profiler/pull/462/commits/de7dd3f5d09ab221d15dd474277c398aad6c5b64 |
| https://github.com/zhengyu123 |
| zhengyu123 | https://github.com/zhengyu123 |
| Apr 10, 2026 | https://github.com/DataDog/java-profiler/pull/462#event-24397771197 |
| https://github.com/zhengyu123 |
| zhengyu123 | https://github.com/zhengyu123 |
| April 11, 2026 00:48 | https://github.com/DataDog/java-profiler/pull/462#event-24399053308 |
| https://github.com/zhengyu123 |
| zhengyu123 | https://github.com/zhengyu123 |
| code owner | https://github.com/DataDog/java-profiler/blob/b09781e07e47bd67bb49395ee48e164c198328e4/.github/CODEOWNERS#L4 |
| April 11, 2026 00:48 | https://github.com/DataDog/java-profiler/pull/462#event-24399053463 |
| https://github.com/zhengyu123 |
| zhengyu123 | https://github.com/zhengyu123 |
| jbachorik | https://github.com/jbachorik |
| rkennke | https://github.com/rkennke |
| April 11, 2026 00:48 | https://github.com/DataDog/java-profiler/pull/462#event-24399059953 |
| https://github.com/jbachorik |
| jbachorik | https://github.com/jbachorik |
|
Apr 13, 2026
| https://github.com/DataDog/java-profiler/pull/462#pullrequestreview-4097876748 |
|
View reviewed changes
| https://github.com/DataDog/java-profiler/pull/462/files/de7dd3f5d09ab221d15dd474277c398aad6c5b64 |
| ddprof-lib/src/main/cpp/hotspot/hotspotSupport.cpp | https://github.com/DataDog/java-profiler/pull/462/files/de7dd3f5d09ab221d15dd474277c398aad6c5b64#diff-e1403ac5b0282cf7dddadcbc52507ce39bbd908eb5dc55052146513342606791 |
| Please reload this page | https://github.com/DataDog/java-profiler/pull/462 |
| https://github.com/jbachorik |
| jbachorik | https://github.com/jbachorik |
|
Apr 13, 2026
| https://github.com/DataDog/java-profiler/pull/462#pullrequestreview-4097876856 |
|
View reviewed changes
| https://github.com/DataDog/java-profiler/pull/462/files/de7dd3f5d09ab221d15dd474277c398aad6c5b64 |
| ddprof-lib/src/main/cpp/hotspot/vmStructs.cpp | https://github.com/DataDog/java-profiler/pull/462/files/de7dd3f5d09ab221d15dd474277c398aad6c5b64#diff-416d13250747280380de44be6d8eaf7cdebb1a5cb8dbc4e31ca4c2689cc5800e |
| Please reload this page | https://github.com/DataDog/java-profiler/pull/462 |
| https://github.com/jbachorik |
| jbachorik | https://github.com/jbachorik |
|
Apr 13, 2026
| https://github.com/DataDog/java-profiler/pull/462#pullrequestreview-4099352168 |
|
View reviewed changes
| https://github.com/DataDog/java-profiler/pull/462/files/de7dd3f5d09ab221d15dd474277c398aad6c5b64 |
| https://github.com/zhengyu123 |
| zhengyu123 | https://github.com/zhengyu123 |
| fda2a5b | https://github.com/DataDog/java-profiler/commit/fda2a5b8e40792d31cdfd71dd6c57593fcde7fee |
| Apr 13, 2026 | https://github.com/DataDog/java-profiler/pull/462#event-24452346869 |
| Please reload this page | https://github.com/DataDog/java-profiler/pull/462 |
| https://github.com/zhengyu123 |
| zhengyu123 | https://github.com/zhengyu123 |
| April 13, 2026 15:31 | https://github.com/DataDog/java-profiler/pull/462#event-24452349342 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| 1.41.0 | https://github.com/DataDog/java-profiler/milestone/48 |
| Apr 13, 2026 | https://github.com/DataDog/java-profiler/pull/462#event-24452354462 |
| https://github.co/hiddenchars |
| https://github.com/DataDog/java-profiler/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FDataDog%2Fjava-profiler%2Fpull%2F462 |
|
| https://github.com/jbachorik |
|
jbachorik
| https://github.com/jbachorik |
|
| https://github.com/DataDog/java-profiler/pull/462/files/de7dd3f5d09ab221d15dd474277c398aad6c5b64 |
|
| https://github.com/rkennke |
|
rkennke
| https://github.com/rkennke |
|
1.41.0
| https://github.com/DataDog/java-profiler/milestone/48 |
| Please reload this page | https://github.com/DataDog/java-profiler/pull/462 |
|
| https://github.com/zhengyu123 |
|
| https://github.com/jbachorik |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |