René's URL Explorer Experiment


Title: Centralize Java thread detection and type-safe thread state handling by zhengyu123 · Pull Request #462 · DataDog/java-profiler · GitHub

Open Graph Title: Centralize Java thread detection and type-safe thread state handling by zhengyu123 · Pull Request #462 · DataDog/java-profiler

X Title: Centralize Java thread detection and type-safe thread state handling by zhengyu123 · Pull Request #462 · DataDog/java-profiler

Description: Contribute to DataDog/java-profiler development by creating an account on GitHub.

Open Graph Description: 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...

X Description: 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...

Opengraph URL: https://github.com/DataDog/java-profiler/pull/462

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:2e2289e3-b9a6-9168-6de6-27a9299cdd68
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id931C:3ADBCF:19C07E:233A05:6A4D56DA
html-safe-noncec1eb2f19f3c58220778fd00367c00396c4cd7655249b14f72739c91c55922c0c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzFDOjNBREJDRjoxOUMwN0U6MjMzQTA1OjZBNEQ1NkRBIiwidmlzaXRvcl9pZCI6IjY4MjU1MTMyMTE5ODgzNjcwNjYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacbc0bf46775b41d56db615bce72acd769cdcccabcd4e247345a348dcfe7e18a94
hovercard-subject-tagpull_request:3514221925
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/DataDog/java-profiler/462/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/288bd59ae4ca04255a6f9e04d2ebb1c78908f15fe6e140ad12b2bf08cb274554/DataDog/java-profiler/pull/462
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/288bd59ae4ca04255a6f9e04d2ebb1c78908f15fe6e140ad12b2bf08cb274554/DataDog/java-profiler/pull/462
og:image:altWhat 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamezhengyu123
hostnamegithub.com
expected-hostnamegithub.com
None2a1443ff9733a3016431263ea73c93d8fe00c195eb4a7670ac30e7848f045441
turbo-cache-controlno-cache
go-importgithub.com/DataDog/java-profiler git https://github.com/DataDog/java-profiler.git
octolytics-dimension-user_id365230
octolytics-dimension-user_loginDataDog
octolytics-dimension-repository_id585532470
octolytics-dimension-repository_nwoDataDog/java-profiler
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id585532470
octolytics-dimension-repository_network_root_nwoDataDog/java-profiler
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef3bdd3157ea1f0fd738d408eceeead721acf1dc3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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
Reloadhttps://github.com/DataDog/java-profiler/pull/462
Reloadhttps://github.com/DataDog/java-profiler/pull/462
Reloadhttps://github.com/DataDog/java-profiler/pull/462
Please reload this pagehttps://github.com/DataDog/java-profiler/pull/462
DataDog https://github.com/DataDog
java-profilerhttps://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
zhengyu123https://github.com/zhengyu123
mainhttps://github.com/DataDog/java-profiler/tree/main
zgu/java_threadhttps://github.com/DataDog/java-profiler/tree/zgu/java_thread
Conversationhttps://github.com/DataDog/java-profiler/pull/462
Commits11 (11)https://github.com/DataDog/java-profiler/pull/462/commits
Checkshttps://github.com/DataDog/java-profiler/pull/462/checks
Files changedhttps://github.com/DataDog/java-profiler/pull/462/files
Centralize Java thread detection and type-safe thread state handlinghttps://github.com/DataDog/java-profiler/pull/462#top
zhengyu123https://github.com/zhengyu123
mainhttps://github.com/DataDog/java-profiler/tree/main
zgu/java_threadhttps://github.com/DataDog/java-profiler/tree/zgu/java_thread
https://github.com/zhengyu123
zhengyu123https://github.com/zhengyu123
Apr 10, 2026https://github.com/DataDog/java-profiler/pull/462#issue-4239551077
Please reload this pagehttps://github.com/DataDog/java-profiler/pull/462
PROF-14160https://datadoghq.atlassian.net/browse/PROF-14160
Please reload this pagehttps://github.com/DataDog/java-profiler/pull/462
zhengyu123https://github.com/zhengyu123
April 8, 2026 15:05https://github.com/DataDog/java-profiler/pull/462#commits-pushed-dd327b2
https://github.com/zhengyu123
v0https://github.com/DataDog/java-profiler/pull/462/commits/dd327b28cef55c109937b7490082621e02e0fa3c
dd327b2https://github.com/DataDog/java-profiler/pull/462/commits/dd327b28cef55c109937b7490082621e02e0fa3c
https://github.com/zhengyu123
v1https://github.com/DataDog/java-profiler/pull/462/commits/c208d5fc5007a1edf62eecb8c12985be74f23eaa
c208d5fhttps://github.com/DataDog/java-profiler/pull/462/commits/c208d5fc5007a1edf62eecb8c12985be74f23eaa
https://github.com/zhengyu123
Mergehttps://github.com/DataDog/java-profiler/pull/462/commits/72fd90bcfe49e56a99a5f6beb8cc0c39f8cab7be
72fd90bhttps://github.com/DataDog/java-profiler/pull/462/commits/72fd90bcfe49e56a99a5f6beb8cc0c39f8cab7be
https://github.com/zhengyu123
v2https://github.com/DataDog/java-profiler/pull/462/commits/679d380734027dd7af9ba0c095d467c873e96b68
679d380https://github.com/DataDog/java-profiler/pull/462/commits/679d380734027dd7af9ba0c095d467c873e96b68
https://github.com/apps/dd-octo-sts
dd-octo-stshttps://github.com/apps/dd-octo-sts
Apr 10, 2026https://github.com/DataDog/java-profiler/pull/462#issuecomment-4224380822
Please reload this pagehttps://github.com/DataDog/java-profiler/pull/462
#24268357704https://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 pagehttps://github.com/DataDog/java-profiler/pull/462
zhengyu123https://github.com/zhengyu123
April 10, 2026 15:51https://github.com/DataDog/java-profiler/pull/462#commits-pushed-51ca0ec
https://github.com/zhengyu123
v3https://github.com/DataDog/java-profiler/pull/462/commits/51ca0ecd54073ae50157040c932729592883bade
51ca0echttps://github.com/DataDog/java-profiler/pull/462/commits/51ca0ecd54073ae50157040c932729592883bade
https://github.com/zhengyu123
v4https://github.com/DataDog/java-profiler/pull/462/commits/2fce97508ccd39258e2a3129e38b600ae9604011
2fce975https://github.com/DataDog/java-profiler/pull/462/commits/2fce97508ccd39258e2a3129e38b600ae9604011
https://github.com/zhengyu123
Fix spacinghttps://github.com/DataDog/java-profiler/pull/462/commits/b6272f6c856a362a6da0243e6babfc34e12d7ae9
b6272f6https://github.com/DataDog/java-profiler/pull/462/commits/b6272f6c856a362a6da0243e6babfc34e12d7ae9
https://github.com/zhengyu123
v5https://github.com/DataDog/java-profiler/pull/462/commits/b64603975139340bbc9c0c427d836f4bd410b53a
b646039https://github.com/DataDog/java-profiler/pull/462/commits/b64603975139340bbc9c0c427d836f4bd410b53a
https://github.com/zhengyu123
v6https://github.com/DataDog/java-profiler/pull/462/commits/acf3b6bb2be34a823762d0e5a37372aaec8e8a89
acf3b6bhttps://github.com/DataDog/java-profiler/pull/462/commits/acf3b6bb2be34a823762d0e5a37372aaec8e8a89
https://github.com/zhengyu123
Cleanuphttps://github.com/DataDog/java-profiler/pull/462/commits/d86e1aeb9b416c6bf648d9f1401b6bd6ba6f40d7
d86e1aehttps://github.com/DataDog/java-profiler/pull/462/commits/d86e1aeb9b416c6bf648d9f1401b6bd6ba6f40d7
https://github.com/zhengyu123
More cleanuphttps://github.com/DataDog/java-profiler/pull/462/commits/de7dd3f5d09ab221d15dd474277c398aad6c5b64
de7dd3fhttps://github.com/DataDog/java-profiler/pull/462/commits/de7dd3f5d09ab221d15dd474277c398aad6c5b64
https://github.com/zhengyu123
zhengyu123https://github.com/zhengyu123
Apr 10, 2026https://github.com/DataDog/java-profiler/pull/462#event-24397771197
https://github.com/zhengyu123
zhengyu123https://github.com/zhengyu123
April 11, 2026 00:48https://github.com/DataDog/java-profiler/pull/462#event-24399053308
https://github.com/zhengyu123
zhengyu123https://github.com/zhengyu123
code ownerhttps://github.com/DataDog/java-profiler/blob/b09781e07e47bd67bb49395ee48e164c198328e4/.github/CODEOWNERS#L4
April 11, 2026 00:48https://github.com/DataDog/java-profiler/pull/462#event-24399053463
https://github.com/zhengyu123
zhengyu123https://github.com/zhengyu123
jbachorikhttps://github.com/jbachorik
rkennkehttps://github.com/rkennke
April 11, 2026 00:48https://github.com/DataDog/java-profiler/pull/462#event-24399059953
https://github.com/jbachorik
jbachorikhttps://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.cpphttps://github.com/DataDog/java-profiler/pull/462/files/de7dd3f5d09ab221d15dd474277c398aad6c5b64#diff-e1403ac5b0282cf7dddadcbc52507ce39bbd908eb5dc55052146513342606791
Please reload this pagehttps://github.com/DataDog/java-profiler/pull/462
https://github.com/jbachorik
jbachorikhttps://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.cpphttps://github.com/DataDog/java-profiler/pull/462/files/de7dd3f5d09ab221d15dd474277c398aad6c5b64#diff-416d13250747280380de44be6d8eaf7cdebb1a5cb8dbc4e31ca4c2689cc5800e
Please reload this pagehttps://github.com/DataDog/java-profiler/pull/462
https://github.com/jbachorik
jbachorikhttps://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
zhengyu123https://github.com/zhengyu123
fda2a5bhttps://github.com/DataDog/java-profiler/commit/fda2a5b8e40792d31cdfd71dd6c57593fcde7fee
Apr 13, 2026https://github.com/DataDog/java-profiler/pull/462#event-24452346869
Please reload this pagehttps://github.com/DataDog/java-profiler/pull/462
https://github.com/zhengyu123
zhengyu123https://github.com/zhengyu123
April 13, 2026 15:31https://github.com/DataDog/java-profiler/pull/462#event-24452349342
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
1.41.0https://github.com/DataDog/java-profiler/milestone/48
Apr 13, 2026https://github.com/DataDog/java-profiler/pull/462#event-24452354462
https://github.co/hiddenchars
https://github.com/DataDog/java-profiler/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://github.com/DataDog/java-profiler/pull/462
https://github.com/zhengyu123
https://github.com/jbachorik
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.