René's URL Explorer Experiment


Title: Thread safety of the library? · Issue #435 · sendgrid/sendgrid-java · GitHub

Open Graph Title: Thread safety of the library? · Issue #435 · sendgrid/sendgrid-java

X Title: Thread safety of the library? · Issue #435 · sendgrid/sendgrid-java

Description: I see from #213 that the library is claimed to be thread safe. However, a few minute's inspection of the SendGrid class shows this is not true. All fields are not safely initialized, and therefore all usage of them is unsafe. Similarly, ...

Open Graph Description: I see from #213 that the library is claimed to be thread safe. However, a few minute's inspection of the SendGrid class shows this is not true. All fields are not safely initialized, and therefore ...

X Description: I see from #213 that the library is claimed to be thread safe. However, a few minute's inspection of the SendGrid class shows this is not true. All fields are not safely initialized, and theref...

Opengraph URL: https://github.com/sendgrid/sendgrid-java/issues/435

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Thread safety of the library?","articleBody":"I see from https://github.com/sendgrid/sendgrid-java/issues/213 that the library is claimed to be thread safe. However, a few minute's inspection of the `SendGrid` class shows this is not true. All fields are not safely initialized, and therefore all usage of them is unsafe. Similarly, the `requestHeaders` field is itself mutable and not thread safe. I stopped looking once I found that much, so there may well be more elsewhere. However, the class looks like it was intended to be reused, given that it launches a thread pool (which leaks threads -- there's no way to close the thread pool). \r\n\r\nAs a potential user of the library, what should I make of this? Is it intended that `SendGrid` should be thread safe?","author":{"url":"https://github.com/marshallpierce","@type":"Person","name":"marshallpierce"},"datePublished":"2018-05-14T20:13:36Z","url":"https://github.com/sendgrid/sendgrid-java/issues/435"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:9f96e6e8-0331-3ddc-ebb8-349d5588e647
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idACCC:C802B:58C7DF:77093B:6B06268E
html-safe-nonce3426a41b37ddaf74d6a8391e8dddee4dc6d4089d2498853ebaded3a01363572d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0NDOkM4MDJCOjU4QzdERjo3NzA5M0I6NkIwNjI2OEUiLCJ2aXNpdG9yX2lkIjoiNjYwMzk5NDI5MjQ4NzEzMTAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaca63246ec42f3eff2ce1b4f3caab56875871984ca7d0ae81a74a7ba9fcc9e6bd9
hovercard-subject-tagissue:322963685
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/sendgrid/sendgrid-java/435/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1b59d6828c2a8e57165ccc3d66b20ffd9b6caa19b0d496b2f6b07220b7f86c56/sendgrid/sendgrid-java/issues/435
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1b59d6828c2a8e57165ccc3d66b20ffd9b6caa19b0d496b2f6b07220b7f86c56/sendgrid/sendgrid-java/issues/435
og:image:altI see from #213 that the library is claimed to be thread safe. However, a few minute's inspection of the SendGrid class shows this is not true. All fields are not safely initialized, and therefore ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemarshallpierce
hostnamegithub.com
expected-hostnamegithub.com
None9e10bb0ecc0bd0f8692aa89586ee9b54e498d7ab9f244a44cdb5b93653a125ce
turbo-cache-controlno-preview
go-importgithub.com/sendgrid/sendgrid-java git https://github.com/sendgrid/sendgrid-java.git
octolytics-dimension-user_id181234
octolytics-dimension-user_loginsendgrid
octolytics-dimension-repository_id12328480
octolytics-dimension-repository_nwosendgrid/sendgrid-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id12328480
octolytics-dimension-repository_network_root_nwosendgrid/sendgrid-java
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
release32e57d5cc2ce6ce92ec6dceb65858344750c27c2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/sendgrid/sendgrid-java/issues/435#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsendgrid%2Fsendgrid-java%2Fissues%2F435
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsendgrid%2Fsendgrid-java%2Fissues%2F435
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=sendgrid%2Fsendgrid-java
Reloadhttps://github.com/sendgrid/sendgrid-java/issues/435
Reloadhttps://github.com/sendgrid/sendgrid-java/issues/435
Reloadhttps://github.com/sendgrid/sendgrid-java/issues/435
sendgridhttps://github.com/sendgrid
sendgrid-javahttps://github.com/sendgrid/sendgrid-java
Codehttps://github.com/sendgrid/sendgrid-java
Issues22 (22)https://github.com/sendgrid/sendgrid-java/issues
Pull requests9 (9)https://github.com/sendgrid/sendgrid-java/pulls
Actionshttps://github.com/sendgrid/sendgrid-java/actions
Security and qualityhttps://github.com/sendgrid/sendgrid-java/security
Insightshttps://github.com/sendgrid/sendgrid-java/insights
https://github.com/sendgrid/sendgrid-java
New issuehttps://github.com/login?return_to=https://github.com/sendgrid/sendgrid-java/issues/435
New issuehttps://github.com/login?return_to=https://github.com/sendgrid/sendgrid-java/issues/435
Thread safety of the library?https://github.com/sendgrid/sendgrid-java/issues/435#top
status: help wantedhttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22status%3A%20help%20wanted%22
type: community enhancementhttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22type%3A%20community%20enhancement%22
https://github.com/marshallpierce
marshallpiercehttps://github.com/marshallpierce
on May 14, 2018https://github.com/sendgrid/sendgrid-java/issues/435#issue-322963685
#213https://github.com/sendgrid/sendgrid-java/issues/213
thinkingserioushttps://github.com/thinkingserious
type: community enhancementhttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22type%3A%20community%20enhancement%22
status: help wantedhttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22status%3A%20help%20wanted%22
difficulty: mediumhttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22difficulty%3A%20medium%22
up-for-grabshttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22up-for-grabs%22
help wantedhttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
up for grabshttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22up%20for%20grabs%22
on May 15, 2018https://github.com/sendgrid/sendgrid-java/issues/435#event-1626232754
https://github.com/thinkingserious
thinkingserioushttps://github.com/thinkingserious
on May 15, 2018https://github.com/sendgrid/sendgrid-java/issues/435#issuecomment-389030877
@marshallpiercehttps://github.com/marshallpierce
thinkingserioushttps://github.com/thinkingserious
hacktoberfesthttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22hacktoberfest%22
on Oct 5, 2018https://github.com/sendgrid/sendgrid-java/issues/435#event-1887253594
https://github.com/CNunezEng
CNunezEnghttps://github.com/CNunezEng
on Oct 29, 2018https://github.com/sendgrid/sendgrid-java/issues/435#issuecomment-433959173
https://github.com/MarcusBiel
MarcusBielhttps://github.com/MarcusBiel
on Aug 10, 2020https://github.com/sendgrid/sendgrid-java/issues/435#issuecomment-671551265
https://github.com/marshallpierce
marshallpiercehttps://github.com/marshallpierce
on Aug 10, 2020https://github.com/sendgrid/sendgrid-java/issues/435#issuecomment-671569583
childish-sambinohttps://github.com/childish-sambino
hacktoberfesthttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22hacktoberfest%22
on Aug 20, 2020https://github.com/sendgrid/sendgrid-java/issues/435#event-3676647953
thinkingserioushttps://github.com/thinkingserious
completedhttps://github.com/sendgrid/sendgrid-java/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Mar 11, 2021https://github.com/sendgrid/sendgrid-java/issues/435#event-4440280925
https://github.com/harishajdarevic
harishajdarevichttps://github.com/harishajdarevic
on Mar 20, 2021https://github.com/sendgrid/sendgrid-java/issues/435#issuecomment-803371237
https://github.com/thinkingserious
thinkingserioushttps://github.com/thinkingserious
on Mar 22, 2021https://github.com/sendgrid/sendgrid-java/issues/435#issuecomment-804326005
@harishajdarevichttps://github.com/harishajdarevic
thinkingserioushttps://github.com/thinkingserious
on Mar 22, 2021https://github.com/sendgrid/sendgrid-java/issues/435#event-4492066801
thinkingserioushttps://github.com/thinkingserious
type: questionhttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22type%3A%20question%22
difficulty: mediumhttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22difficulty%3A%20medium%22
help wantedhttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
type: community enhancementhttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22type%3A%20community%20enhancement%22
up for grabshttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22up%20for%20grabs%22
up-for-grabshttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22up-for-grabs%22
on Mar 22, 2021https://github.com/sendgrid/sendgrid-java/issues/435#event-4492068405
thinkingserioushttps://github.com/thinkingserious
type: community enhancementhttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22type%3A%20community%20enhancement%22
help wantedhttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
up for grabshttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22up%20for%20grabs%22
up-for-grabshttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22up-for-grabs%22
type: questionhttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22type%3A%20question%22
on Mar 30, 2021https://github.com/sendgrid/sendgrid-java/issues/435#event-4530849899
childish-sambinohttps://github.com/childish-sambino
help wantedhttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22help%20wanted%22
up for grabshttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22up%20for%20grabs%22
up-for-grabshttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22up-for-grabs%22
on Mar 31, 2022https://github.com/sendgrid/sendgrid-java/issues/435#event-6346827829
Sign up for freehttps://github.com/signup?return_to=https://github.com/sendgrid/sendgrid-java/issues/435
Sign in to commenthttps://github.com/login?return_to=https://github.com/sendgrid/sendgrid-java/issues/435
status: help wantedhttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22status%3A%20help%20wanted%22
type: community enhancementhttps://github.com/sendgrid/sendgrid-java/issues?q=state%3Aopen%20label%3A%22type%3A%20community%20enhancement%22
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.