René's URL Explorer Experiment


Title: Replace synchronization in Zone with locks by srijeet0406 · Pull Request #306 · dnsjava/dnsjava · GitHub

Open Graph Title: Replace synchronization in Zone with locks by srijeet0406 · Pull Request #306 · dnsjava/dnsjava

X Title: Replace synchronization in Zone with locks by srijeet0406 · Pull Request #306 · dnsjava/dnsjava

Description: This PR closes #305 It replaces the use of the synchronized keyword in Zone.java with reader/ writer locks. The benefit to this is that reader locks will allow multiple threads to simultaneously access the Zones as long as no other thread is writing to it. With the synchronized keyword, the reader concurrency is reduced to 1. We are using this library at Comcast for one of our components, and are noticing resource contention while our application is concurrently trying to lookup DNS records for Zones.

Open Graph Description: This PR closes #305 It replaces the use of the synchronized keyword in Zone.java with reader/ writer locks. The benefit to this is that reader locks will allow multiple threads to simultaneously ac...

X Description: This PR closes #305 It replaces the use of the synchronized keyword in Zone.java with reader/ writer locks. The benefit to this is that reader locks will allow multiple threads to simultaneously ac...

Opengraph URL: https://github.com/dnsjava/dnsjava/pull/306

X: @github

direct link

Domain: redirect.github.com

IPv4 address: 140.82.114.4

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:6dc109c0-c8be-6bfd-2d32-e790a79758eb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDC8A:2215B9:DCA97:124A8D:6B060794
html-safe-noncecd71e72e2917f58ccc570c2bbd342b0f7ff78e3be52c42a03a203c36d6812a60
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzhBOjIyMTVCOTpEQ0E5NzoxMjRBOEQ6NkIwNjA3OTQiLCJ2aXNpdG9yX2lkIjoiODU5OTY2ODUwOTA4Njg2MjI4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca60b8d0040482596237f6f0599dd258137c1e2ea0edf48913d968ac1805d7772
hovercard-subject-tagpull_request:1622783968
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/dnsjava/dnsjava/pull/306/files
twitter:imagehttps://avatars.githubusercontent.com/u/30329068?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/30329068?s=400&v=4
og:image:altThis PR closes #305 It replaces the use of the synchronized keyword in Zone.java with reader/ writer locks. The benefit to this is that reader locks will allow multiple threads to simultaneously ac...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None47127d2f2009e000f3401193f8b4163109ac669adad0804de1ee0e6333ca7b9e
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/dnsjava/dnsjava git https://github.com/dnsjava/dnsjava.git
octolytics-dimension-user_id6755615
octolytics-dimension-user_logindnsjava
octolytics-dimension-repository_id17084567
octolytics-dimension-repository_nwodnsjava/dnsjava
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id17084567
octolytics-dimension-repository_network_root_nwodnsjava/dnsjava
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0760ea46a027ba5099cdef7abd54f27865eb4f44
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://redirect.github.com/dnsjava/dnsjava/pull/306/files#start-of-content
https://redirect.github.com/
Sign inhttps://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdnsjava%2Fdnsjava%2Fpull%2F306%2Ffiles
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://redirect.github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdnsjava%2Fdnsjava%2Fpull%2F306%2Ffiles
Sign uphttps://redirect.github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=dnsjava%2Fdnsjava
Reloadhttps://redirect.github.com/dnsjava/dnsjava/pull/306/files
Reloadhttps://redirect.github.com/dnsjava/dnsjava/pull/306/files
Reloadhttps://redirect.github.com/dnsjava/dnsjava/pull/306/files
dnsjavahttps://redirect.github.com/dnsjava
dnsjavahttps://redirect.github.com/dnsjava/dnsjava
Codehttps://redirect.github.com/dnsjava/dnsjava
Issues16 (16)https://redirect.github.com/dnsjava/dnsjava/issues
Pull requests3 (3)https://redirect.github.com/dnsjava/dnsjava/pulls
Actionshttps://redirect.github.com/dnsjava/dnsjava/actions
Security and quality8 (8)https://redirect.github.com/dnsjava/dnsjava/security
Insightshttps://redirect.github.com/dnsjava/dnsjava/insights
Sign up for GitHub https://redirect.github.com/signup?return_to=%2Fdnsjava%2Fdnsjava%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://redirect.github.com/login?return_to=%2Fdnsjava%2Fdnsjava%2Fissues%2Fnew%2Fchoose
srijeet0406https://redirect.github.com/srijeet0406
dnsjava:masterhttps://redirect.github.com/dnsjava/dnsjava/tree/master
srijeet0406:remove_synchronization_replace_with_lockshttps://redirect.github.com/srijeet0406/dnsjava/tree/remove_synchronization_replace_with_locks
Conversation 31 https://redirect.github.com/dnsjava/dnsjava/pull/306
Commits 5 https://redirect.github.com/dnsjava/dnsjava/pull/306/commits
Checks 0 https://redirect.github.com/dnsjava/dnsjava/pull/306/checks
Files changed https://redirect.github.com/dnsjava/dnsjava/pull/306/files
Please reload this pagehttps://redirect.github.com/dnsjava/dnsjava/pull/306/files
Replace synchronization in Zone with locks https://redirect.github.com/dnsjava/dnsjava/pull/306/files#top
Show all changes 5 commits https://redirect.github.com/dnsjava/dnsjava/pull/306/files
37c70f5 Replace synchronization in Zone with locks srijeet0406 Nov 29, 2023 https://redirect.github.com/dnsjava/dnsjava/pull/306/commits/37c70f58211c42409cf88b7f49272b805a7685b3
9d59395 code review srijeet0406 Dec 4, 2023 https://redirect.github.com/dnsjava/dnsjava/pull/306/commits/9d5939518cf56b49498abd6be61630e837dabd90
0b0d96e cleanup srijeet0406 Dec 8, 2023 https://redirect.github.com/dnsjava/dnsjava/pull/306/commits/0b0d96ee5312ec1afde4e748a21e22d06df5d742
bbe8239 moving unlocking into finally block, other cleanup srijeet0406 Dec 11, 2023 https://redirect.github.com/dnsjava/dnsjava/pull/306/commits/bbe82399811d500c6fce9b079a262f64546e5f92
a96aba2 remove unused variables srijeet0406 Dec 11, 2023 https://redirect.github.com/dnsjava/dnsjava/pull/306/commits/a96aba234d780a01afc8442e9e7218034203f4c2
Clear filters https://redirect.github.com/dnsjava/dnsjava/pull/306/files
Please reload this pagehttps://redirect.github.com/dnsjava/dnsjava/pull/306/files
Please reload this pagehttps://redirect.github.com/dnsjava/dnsjava/pull/306/files
Zone.java https://redirect.github.com/dnsjava/dnsjava/pull/306/files#diff-44f3902a6bca72f26927b1506f2d5e0208507aa6e1653324d1c33f0194efcb8e
ZoneTest.java https://redirect.github.com/dnsjava/dnsjava/pull/306/files#diff-92607679c07810c1ab0dcc9d4152d8c9185306b729f2079a2ef8d1b9626f7570
Please reload this pagehttps://redirect.github.com/dnsjava/dnsjava/pull/306/files
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-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.