René's URL Explorer Experiment


Title: Cleanup JVMTI sampling implementation by jbachorik · Pull Request #174 · DataDog/java-profiler · GitHub

Open Graph Title: Cleanup JVMTI sampling implementation by jbachorik · Pull Request #174 · DataDog/java-profiler

X Title: Cleanup JVMTI sampling implementation by jbachorik · Pull Request #174 · DataDog/java-profiler

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

Open Graph Description: What does this PR do?: It cleans up the JVMTI based sampling implementation. Motivation: Preparation for downporting the vmstructs based stackwalker. Additional Notes: An added benefit is reduced a...

X Description: What does this PR do?: It cleans up the JVMTI based sampling implementation. Motivation: Preparation for downporting the vmstructs based stackwalker. Additional Notes: An added benefit is reduced a...

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

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:b6c67374-c877-f592-f70c-14bf8f7f4de5
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAC02:270D1E:4AE5A1:64D7B6:6A4D324F
html-safe-nonce11640f9a38b618f9f6b5151d2d380882f66a054085368d1ddead199ee3e032f7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzAyOjI3MEQxRTo0QUU1QTE6NjREN0I2OjZBNEQzMjRGIiwidmlzaXRvcl9pZCI6Ijc1MjE1Njg5MzA2NzE3MDI2MDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac104b817de2b8b18b4ab635f11465bae2efae70e7ec3fa89322c0f34844dbc074
hovercard-subject-tagpull_request:2302851556
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/174/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/3e08398101f4aea64f6c63fb63d12eeee304d947bf934ac26e31d32c72d95ab7/DataDog/java-profiler/pull/174
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/3e08398101f4aea64f6c63fb63d12eeee304d947bf934ac26e31d32c72d95ab7/DataDog/java-profiler/pull/174
og:image:altWhat does this PR do?: It cleans up the JVMTI based sampling implementation. Motivation: Preparation for downporting the vmstructs based stackwalker. Additional Notes: An added benefit is reduced a...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejbachorik
hostnamegithub.com
expected-hostnamegithub.com
None92571a8944142227b7e19cd10918b1ddd06e5066c1ad5bc7e4769cf6140a87e6
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
release56fc8347865a14e2ec811533d68f929cf4e0ec19
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/DataDog/java-profiler/pull/174#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FDataDog%2Fjava-profiler%2Fpull%2F174
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%2F174
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/174
Reloadhttps://github.com/DataDog/java-profiler/pull/174
Reloadhttps://github.com/DataDog/java-profiler/pull/174
Please reload this pagehttps://github.com/DataDog/java-profiler/pull/174
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
jbachorikhttps://github.com/jbachorik
mainhttps://github.com/DataDog/java-profiler/tree/main
jb/reuse_frameshttps://github.com/DataDog/java-profiler/tree/jb/reuse_frames
Conversationhttps://github.com/DataDog/java-profiler/pull/174
Commits1 (1)https://github.com/DataDog/java-profiler/pull/174/commits
Checkshttps://github.com/DataDog/java-profiler/pull/174/checks
Files changedhttps://github.com/DataDog/java-profiler/pull/174/files
Cleanup JVMTI sampling implementationhttps://github.com/DataDog/java-profiler/pull/174#top
jbachorikhttps://github.com/jbachorik
mainhttps://github.com/DataDog/java-profiler/tree/main
jb/reuse_frameshttps://github.com/DataDog/java-profiler/tree/jb/reuse_frames
https://github.com/jbachorik
jbachorikhttps://github.com/jbachorik
Jan 28, 2025https://github.com/DataDog/java-profiler/pull/174#issue-2816304979
Please reload this pagehttps://github.com/DataDog/java-profiler/pull/174
PROF-11238https://datadoghq.atlassian.net/browse/PROF-11238?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Please reload this pagehttps://github.com/DataDog/java-profiler/pull/174
https://github.com/jbachorik
jbachorikhttps://github.com/jbachorik
MattAlphttps://github.com/MattAlp
January 28, 2025 17:24https://github.com/DataDog/java-profiler/pull/174#event-16096991714
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jan 28, 2025https://github.com/DataDog/java-profiler/pull/174#issuecomment-2619631815
Please reload this pagehttps://github.com/DataDog/java-profiler/pull/174
Quantityhttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/Quantity#L5
https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/#L3
https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/#L1
https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/#L1
vmStructs.cpphttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.cpp#L872
vmStructs.cpphttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.cpp#L977
safeAccess.hhttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/safeAccess.h#L33
symbols_linux.hhttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/symbols_linux.h#L129
flightRecorder.cpphttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1513
Please reload this pagehttps://github.com/DataDog/java-profiler/pull/174
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jan 28, 2025https://github.com/DataDog/java-profiler/pull/174#issuecomment-2619639963
Please reload this pagehttps://github.com/DataDog/java-profiler/pull/174
The class 'RecordingBuffer' defines member function with name 'flushIfNeeded' also defined in its parent class 'Buffer'.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/buffers.h#L234
Obsolete function 'alloca' called.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1603
Member variable 'ScopeDesc::_stream' is not initialized in the constructor.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L702
Member variable 'ScopeDesc::_method_offset' is not initialized in the constructor.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L702
Member variable 'ScopeDesc::_bci' is not initialized in the constructor.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L702
Member variable 'ElfParser::_vaddr_diff' is not initialized in the constructor.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/symbols_linux.h#L121
Either the condition 'vm_thread' is redundant or there is possible null pointer dereference: vm_thread.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/wallClock.cpp#L198
Class 'Arguments' has a constructor with 1 argument that is not explicit.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/arguments.h#L150
struct member 'Multiplier::symbol' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/arguments.h#L90
struct member 'Multiplier::multiplier' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/arguments.h#L91
class member 'Error::OK' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/arguments.h#L99
Class 'AsyncSampleMutex' has a constructor with 1 argument that is not explicit.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/asyncSampleMutex.h#L21
The class 'NativeFunc' does not declare a constructor although it has private member variables which likely require initialization.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/codeCache.h#L41
Class 'SpinLock' has a constructor with 1 argument that is not explicit.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/spinLock.h#L32
Local variable 'count' shadows outer functionhttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/codeCache.h#L202
Local variable 'jni' shadows outer functionhttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmEntry.h#L155
Local variable 'size' shadows outer functionhttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/callTraceStorage.cpp#L38
Local variable 'prev' shadows outer functionhttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/callTraceStorage.cpp#L63
Variable 'cb1' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/codeCache.h#L76
Variable 'cb2' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/codeCache.h#L77
Variable 'keys' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/callTraceStorage.cpp#L115
Parameter 'frames' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/callTraceStorage.cpp#L136
Parameter 'frames' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/callTraceStorage.cpp#L169
Variable 'keys' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/callTraceStorage.cpp#L188
struct member 'CallTrace::truncated' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/callTraceStorage.h#L30
struct member 'CallTrace::num_frames' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/callTraceStorage.h#L31
class member 'CallTraceStorage::_current_table' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/callTraceStorage.h#L65
class member 'CallTraceStorage::_overflow' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/callTraceStorage.h#L66
class member 'CallTraceStorage::_lock' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/callTraceStorage.h#L68
Local variable 'i' shadows outer variablehttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/codeCache.cpp#L268
Parameter 'prefixes' can be declared as reference to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/codeCache.cpp#L258
Variable 'fd1' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/dwarf.h#L82
Variable 'fd2' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/dwarf.h#L83
Parameter 'name' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/codeCache.cpp#L33
Consider using std::transform algorithm instead of a raw loop.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/codeCache.cpp#L263
struct member 'Tag::value' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/context.h#L27
class member 'Context::spanId' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/context.h#L32
class member 'Context::rootSpanId' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/context.h#L33
class member 'Context::checksum' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/context.h#L34
struct member 'ContextPage::capacity' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/context.h#L46
struct member 'ContextPage::storage' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/context.h#L47
class member 'Contexts::_max_pages' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/context.h#L53
class member 'Contexts::_pages' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/context.h#L54
The function 'check' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/ctimer.h#L63
The function 'start' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/ctimer.h#L67
class member 'Shims::_tid_setter_ref' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/debugSupport.h#L9
Class 'Dictionary' has a constructor with 1 argument that is not explicit.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/dictionary.h#L66
struct member 'DictRow::keys' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/dictionary.h#L33
struct member 'DictRow::next' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/dictionary.h#L34
Operator '|' with one operand equal to zero is redundant.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/dwarf.cpp#L87
Operator '|' with one operand equal to zero is redundant.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/dwarf.cpp#L89
Local variable 'table' shadows outer functionhttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/dwarf.cpp#L137
Local variable 'pc_off' shadows outer variablehttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/dwarf.cpp#L298
Variable 'table' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/dwarf.cpp#L137
struct member 'FrameDesc::cfa' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/dwarf.h#L74
struct member 'FrameDesc::fp_off' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/dwarf.h#L75
struct member 'FrameDesc::pc_off' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/dwarf.h#L76
struct member 'FrameDesc::empty_frame' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/dwarf.h#L78
struct member 'FrameDesc::default_frame' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/dwarf.h#L79
class member 'DwarfParser::_name' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/dwarf.h#L90
class member 'DwarfParser::_image_base' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/dwarf.h#L91
class member 'DwarfParser::_capacity' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/dwarf.h#L94
class member 'DwarfParser::_prev' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/dwarf.h#L97
class member 'DwarfParser::_code_align' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/dwarf.h#L99
class member 'DwarfParser::_data_align' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/dwarf.h#L100
Class 'WallClockEpochEvent' has a constructor with 1 argument that is not explicit.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/event.h#L85
class member 'LockEvent::_start_time' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/event.h#L59
class member 'LockEvent::_end_time' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/event.h#L60
class member 'LockEvent::_address' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/event.h#L61
class member 'LockEvent::_timeout' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/event.h#L62
class member 'ObjectLivenessEvent::_alloc' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/event.h#L67
class member 'ObjectLivenessEvent::_skipped' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/event.h#L68
class member 'ObjectLivenessEvent::_start_time' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/event.h#L69
class member 'ObjectLivenessEvent::_age' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/event.h#L70
class member 'ObjectLivenessEvent::_ctx' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/event.h#L71
struct member 'QueueTimeEvent::_start' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/event.h#L150
struct member 'QueueTimeEvent::_end' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/event.h#L151
struct member 'QueueTimeEvent::_task' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/event.h#L152
struct member 'QueueTimeEvent::_scheduler' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/event.h#L153
struct member 'QueueTimeEvent::_origin' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/event.h#L154
struct member 'QueueTimeEvent::_queueType' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/event.h#L155
struct member 'QueueTimeEvent::_queueLength' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/event.h#L156
The class 'VirtualSpaceSummary' does not declare a constructor although it has private member variables which likely require initialization.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/jvmHeap.h#L26
The class 'GCHeapSummary' does not declare a constructor although it has private member variables which likely require initialization.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/jvmHeap.h#L40
The class 'CollectedHeap' does not declare a constructor although it has private member variables which likely require initialization.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/jvmHeap.h#L57
Class 'Element' has a constructor with 1 argument that is not explicit.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/jfrMetadata.h#L119
Class 'NoField' has a constructor with 1 argument that is not explicit.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/jfrMetadata.h#L155
Class 'MutexLocker' has a constructor with 1 argument that is not explicit.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/mutex.h#L54
Class 'MethodList' has a constructor with 1 argument that is not explicit.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L231
Class 'ScopeDesc' has a constructor with 1 argument that is not explicit.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L702
The function 'is_nofield' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/jfrMetadata.h#L157
The function 'check' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/objectSampler.h#L63
The function 'start' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/objectSampler.h#L64
The function 'stop' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/objectSampler.h#L65
The function 'interval' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/objectSampler.h#L67
Condition 'enabled()' is always falsehttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/tsc.h#L63
Condition 'usage._maxSize==-1' is always falsehttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L654
Condition 'counters' is always falsehttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1247
Condition 'ihttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1249
Condition '!TSC::initialized()' is always falsehttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1443
The scope of the variable 'class_name_id' can be reduced.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L141
The scope of the variable 'method_name_id' can be reduced.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L142
The scope of the variable 'method_sig_id' can be reduced.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L143
Local variable 'start' shadows outer functionhttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1606
Parameter 'frame' can be declared as reference to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L279
Variable 'strings' can be declared as reference to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L652
Parameter 'args' can be declared as reference to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L723
Parameter 'constants' can be declared as reference to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1214
Parameter 'ptr' can be declared as pointer to const. However it seems that 'load32' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s).https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/safeAccess.h#L36
Variable 'methods' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L297
Parameter 'func' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L111
Variable 'counters' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1246
Parameter 'event' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1277
Parameter 'event' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1292
Parameter 'event' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1306
Parameter 'event' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1320
Parameter 'event' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1335
Parameter 'event' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1352
Parameter 'event' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1389
Parameter 'event' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1405
Variable 'class_name_id' is assigned a value that is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L141
Variable 'method_name_id' is assigned a value that is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L142
Variable 'method_sig_id' is assigned a value that is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L143
Parameter 'ptr' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/safeAccess.h#L36
struct member 'CpuTime::real' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.h#L55
struct member 'CpuTime::user' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.h#L56
struct member 'CpuTime::system' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.h#L57
struct member 'CpuTimes::proc' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.h#L61
struct member 'CpuTimes::total' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.h#L62
class member 'Recording::_agent_properties' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.h#L124
class member 'Recording::_jvm_args' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.h#L125
class member 'Recording::_jvm_flags' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.h#L126
class member 'Recording::_java_command' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.h#L127
class member 'Recording::_fd' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.h#L130
class member 'Recording::_start_time' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.h#L136
class member 'Recording::_recording_start_time' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.h#L137
class member 'Recording::_start_ticks' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.h#L138
class member 'Recording::_recording_start_ticks' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.h#L139
class member 'Recording::_stop_time' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.h#L140
class member 'Recording::_stop_ticks' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.h#L141
class member 'Recording::_base_id' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.h#L143
class member 'Recording::_bytes_written' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.h#L144
class member 'Recording::_tid' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.h#L146
class member 'Recording::_available_processors' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.h#L147
class member 'Recording::_recorded_lib_count' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.h#L148
class member 'Recording::_cpu_monitor_enabled' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.h#L150
class member 'Recording::_last_times' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.h#L152
class member 'FlightRecorder::_filename' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.h#L293
The function 'name' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/itimer.h#L34
The function 'interval' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/itimer.h#L36
The function 'check' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/itimer.h#L38
The function 'start' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/itimer.h#L39
The function 'stop' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/itimer.h#L40
The function 'enableEvents' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/itimer.h#L42
class member 'ITimer::_cstack' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/itimer.h#L27
struct member 'jvmtiFrameInfoExtended::native_frame_address' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/j9Ext.h#L32
struct member 'jvmtiStackInfoExtended::frame_buffer' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/j9Ext.h#L38
class member 'J9Ext::InstrumentableObjectAlloc_id' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/j9Ext.h#L134
The class 'J9WallClock' does not declare a constructor although it has private member variables which likely require initialization.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/j9WallClock.h#L23
The function 'name' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/j9WallClock.h#L43
The function 'interval' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/j9WallClock.h#L47
The function 'start' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/j9WallClock.h#L51
The function 'stop' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/j9WallClock.h#L52
The function 'enableEvents' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/j9WallClock.h#L54
class member 'J9WallClock::_max_stack_depth' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/j9WallClock.h#L29
class member 'J9WallClock::_running' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/j9WallClock.h#L30
Class 'ReservoirSampler' has a constructor with 1 argument that is not explicit.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/reservoirSampler.h#L35
The function 'name' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/wallClock.h#L126
The function 'interval' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/wallClock.h#L128
The function 'enableEvents' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/wallClock.h#L130
The function 'start' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/wallClock.h#L134
The function 'stop' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/wallClock.h#L135
Variable 'value' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/javaApi.cpp#L332
class member 'JfrMetadata::_initialized' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/jfrMetadata.h#L163
class member 'JVM::_is_readable_pointer_resolved' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/jvm.h#L8
class member 'JVM::_is_readable_pointer' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/jvm.h#L9
class member 'VirtualSpaceSummary::_committed_end' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/jvmHeap.h#L29
class member 'GCHeapSummary::vptr' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/jvmHeap.h#L42
class member 'CollectedHeap::vptr' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/jvmHeap.h#L59
class member 'CollectedHeap::_gc_heap_log' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/jvmHeap.h#L61
class member 'CollectedHeap::_capacity_at_last_gc' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/jvmHeap.h#L64
class member 'CollectedHeap::_used_at_last_gc' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/jvmHeap.h#L65
struct member 'Chunk::prev' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/linearAllocator.h#L23
struct member 'Chunk::offs' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/linearAllocator.h#L24
struct member 'Chunk::_padding' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/linearAllocator.h#L26
class member 'LinearAllocator::_chunk_size' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/linearAllocator.h#L31
class member 'LinearAllocator::_tail' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/linearAllocator.h#L32
class member 'LinearAllocator::_reserve' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/linearAllocator.h#L33
Local variable 'start' shadows outer functionhttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/livenessTracker.cpp#L59
Local variable 'start' shadows outer functionhttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/livenessTracker.cpp#L101
Parameter 'args' can be declared as reference to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/livenessTracker.cpp#L218
Parameter 'event' can be declared as reference to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/livenessTracker.cpp#L282
Unused variable: kept_classeshttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/livenessTracker.cpp#L61
struct member 'TrackingEntry::alloc' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/livenessTracker.h#L33
struct member 'TrackingEntry::skipped' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/livenessTracker.h#L34
struct member 'TrackingEntry::call_trace_id' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/livenessTracker.h#L35
struct member 'TrackingEntry::ctx' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/livenessTracker.h#L39
class member 'LivenessTracker::MAX_TRACKING_TABLE_SIZE' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/livenessTracker.h#L47
class member 'LivenessTracker::MIN_SAMPLING_INTERVAL' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/livenessTracker.h#L48
class member 'LivenessTracker::_table_lock' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/livenessTracker.h#L54
Condition 'level>=_level' is always truehttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/log.cpp#L87
Parameter 'args' can be declared as reference to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/log.cpp#L27
class member 'Log::_file' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/log.h#L35
class member 'Log::LEVEL_NAME' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/log.h#L39
class member 'ObjectSampler::CONFIG_UPDATE_CHECK_PERIOD_SECS' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/objectSampler.h#L45
class member 'JitWriteProtection::_prev' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/os.h#L44
class member 'JitWriteProtection::_restore' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/os.h#L45
class member 'OS::page_size' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/os.h#L54
class member 'OS::page_mask' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/os.h#L55
The function 'rewind' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/os_macos.cpp#L56
The function 'next' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/os_macos.cpp#L67
The function 'size' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/os_macos.cpp#L75
The function 'check' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/perfEvents.h#L75
The function 'start' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/perfEvents.h#L79
The function 'enableEvents' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/perfEvents.h#L88
The function 'registerThread' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/perfEvents.h#L94
The function 'unregisterThread' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/perfEvents.h#L95
The function 'interval' overrides a function in a base class but is not marked with a 'override' specifier.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/perfEvents.h#L97
The function 'enableEvents' overrides a function in a base class but is identical to the overridden functionhttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/perfEvents.h#L88
The function 'registerThread' overrides a function in a base class but is identical to the overridden functionhttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/perfEvents.h#L94
The function 'unregisterThread' overrides a function in a base class but is identical to the overridden functionhttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/perfEvents.h#L95
Condition 'ihttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/profiler.cpp#L468
Condition 'event_name==NULL' is always truehttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/profiler.cpp#L1429
Variable 'sp' can be declared as reference to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/profiler.cpp#L513
Variable 'pc' can be declared as reference to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/profiler.cpp#L514
Parameter 'args' can be declared as reference to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/profiler.cpp#L1014
Parameter 'java_ctx' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/profiler.cpp#L337
Variable 'error' is assigned a value that is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/profiler.cpp#L1189
Variable 'error' is assigned a value that is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/profiler.cpp#L1198
Variable 'error' is assigned a value that is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/profiler.cpp#L1209
Variable 'error' is assigned a value that is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/profiler.cpp#L1393
Condition 'length>0' is always falsehttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/profiler.cpp#L882
class member 'Profiler::_signals_initialized' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/profiler.h#L72
class member 'Profiler::_class_map_lock' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/profiler.h#L103
class member 'Profiler::_locks' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/profiler.h#L104
Condition 'strcmp(name,"forward_copy_longs")==0' is always falsehttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame_aarch64.cpp#L71
Condition 'strcmp(name,"backward_copy_longs")==0' is always falsehttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame_aarch64.cpp#L72
Variable 'ip' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame_aarch64.cpp#L60
Parameter 'ip' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame_aarch64.cpp#L105
Variable 'ip' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame_aarch64.cpp#L153
Parameter 'pc' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame_aarch64.cpp#L214
Unused private function: 'StackFrame::withinCurrentStack'https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame.h#L30
Variable 'ip' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame_arm.cpp#L77
Parameter 'entry' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame_arm.cpp#L75
Variable 'ip' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame_arm.cpp#L89
Parameter 'pc' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame_arm.cpp#L126
Variable 'ip' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame_i386.cpp#L71
Variable 'ip' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame_i386.cpp#L99
Variable 'entry' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame_i386.cpp#L100
Parameter 'pc' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame_i386.cpp#L133
Parameter 'sp' can be declared as reference to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame_ppc64.cpp#L119
Variable 'inst' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame_ppc64.cpp#L91
Variable 'inst' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame_ppc64.cpp#L105
Parameter 'pc' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame_ppc64.cpp#L161
Variable 'ip' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame_x64.cpp#L66
Parameter 'pc' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame_x64.cpp#L262
Local variable 'pc' shadows outer functionhttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame_x64.cpp#L244
Return value 'ptr>(const void*)-DEAD_ZONE' is always truehttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackWalker.cpp#L38
Condition '!inDeadZone(method)' is always falsehttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackWalker.cpp#L58
Condition '!inDeadZone(method_id)' is always falsehttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackWalker.cpp#L60
Condition 'inDeadZone(pc)' is always truehttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackWalker.cpp#L117
Condition 'inDeadZone(pc)' is always truehttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackWalker.cpp#L221
Condition 'is_plausible_interpreter_frame' is always falsehttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackWalker.cpp#L338
Condition 'inDeadZone(pc)' is always truehttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackWalker.cpp#L458
The comparison 'EMPTY_FRAME_SIZE > 0' is always false.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackWalker.cpp#L206
The comparison 'EMPTY_FRAME_SIZE > 0' is always false.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackWalker.cpp#L443
The scope of the variable 'prev_sp' can be reduced.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackWalker.cpp#L135
Local variable 'frame' shadows outer variablehttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackWalker.cpp#L81
The comparison 'EMPTY_FRAME_SIZE > 0' is always false.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackWalker.cpp#L206
The comparison 'EMPTY_FRAME_SIZE > 0' is always false.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackWalker.cpp#L443
Class 'SymbolDesc' has a constructor with 1 argument that is not explicit.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/symbols_linux.h#L14
Class 'MemoryMapDesc' has a constructor with 1 argument that is not explicit.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/symbols_linux.h#L35
Local variable 'section' shadows outer functionhttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/symbols_linux.cpp#L44
Local variable 'section' shadows outer functionhttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/symbols_linux.cpp#L287
Local variable 'section' shadows outer functionhttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/symbols_linux.cpp#L313
Variable 'ident' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/symbols_linux.h#L133
Parameter 'section' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/symbols_linux.h#L144
Variable 'checked' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/symbols_linux.cpp#L61
Variable 'pheader' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/symbols_linux.cpp#L116
Variable 'sym' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/symbols_linux.cpp#L199
Variable 'sym' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/symbols_linux.cpp#L210
Variable 'chain' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/symbols_linux.cpp#L250
Variable 'plt' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/symbols_linux.cpp#L272
Variable 'note' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/symbols_linux.cpp#L292
Variable 'sym' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/symbols_linux.cpp#L358
Variable 'sym' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/symbols_linux.cpp#L384
Local variable 'tid' shadows outer functionhttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/thread.cpp#L32
Local variable 'tid' shadows outer functionhttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/thread.cpp#L130
class member 'ProfiledThread::_buffer_size' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/thread.h#L24
class member 'ProfiledThread::_buffer' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/thread.h#L26
Local variable 'word' shadows outer functionhttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/threadFilter.cpp#L133
class member 'ThreadFilter::_max_bitmaps' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/threadFilter.h#L34
class member 'ThreadInfo::_thread_names' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/threadInfo.h#L12
class member 'ThreadInfo::_thread_ids' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/threadInfo.h#L13
class member 'Trap::_page_start' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/trap.h#L36
Local variable 'frequency' shadows outer functionhttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/tsc.cpp#L41
Local variable 'flag_addr' shadows outer variablehttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmEntry.cpp#L395
Variable 'idx' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmEntry.cpp#L118
Parameter 'prop_value' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmEntry.cpp#L139
Variable 'flag_addr' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmEntry.cpp#L395
Parameter 'options' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmEntry.cpp#L545
struct member 'ASGCT_CallTrace::env' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmEntry.h#L73
struct member 'ASGCT_CallTrace::frames' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmEntry.h#L75
struct member 'VMManagement::unused' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmEntry.h#L81
struct member 'JVMTIFunctions::unused1' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmEntry.h#L88
struct member 'JVMTIFunctions::unused2' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmEntry.h#L91
struct member 'JavaFullVersion::major' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmEntry.h#L96
struct member 'JavaFullVersion::update' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmEntry.h#L97
class member 'VM::_can_intercept_binding' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmEntry.h#L118
class member 'VM::_libjvm' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmEntry.h#L137
class member 'VM::_libjava' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmEntry.h#L138
class member 'VM::_asyncGetCallTrace' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmEntry.h#L139
The scope of the variable 'delayedCounter' can be reduced.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.cpp#L931
Local variable 'type' shadows outer functionhttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.cpp#L827
Parameter 'ptr' can be declared as pointer to const. However it seems that 'load32' is a callback function, if 'ptr' is declared with const you might also need to cast function pointer(s).https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/safeAccess.h#L36
Variable 'code_heap_array' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.cpp#L433
Variable 'blob' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.cpp#L526
Parameter 'vm_thread' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.cpp#L561
Variable 'segmap' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.cpp#L797
Variable 'type_name' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.cpp#L835
Variable 'pcd_end' can be declared as pointer to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.cpp#L890
Consider using std::any_of, std::all_of, std::none_of, or std::accumulate algorithm instead of a raw loop.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.cpp#L828
Variable 'error' is assigned a value that is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.cpp#L977
class member 'VMStructs::_has_native_thread_id' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L45
class member 'VMStructs::_class_loader_data_next_offset' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L53
class member 'VMStructs::_scopes_pcs_offset' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L73
class member 'VMStructs::_constmethod_constants_offset' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L84
class member 'VMStructs::_constmethod_idnum_offset' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L85
class member 'VMStructs::_pool_holder_offset' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L87
class member 'VMStructs::_array_data_offset' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L88
class member 'VMStructs::_code_heap_segmap_offset' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L90
class member 'VMStructs::_code_heap_segment_shift' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L91
class member 'VMStructs::_heap_block_used_offset' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L92
class member 'VMStructs::_vs_low_bound_offset' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L93
class member 'VMStructs::_vs_high_bound_offset' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L94
class member 'VMStructs::_flag_type_offset' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L97
class member 'VMStructs::_flags_addr' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L100
class member 'VMStructs::_flag_count' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L101
class member 'VMStructs::_flag_size' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L102
class member 'VMStructs::_code_heap_low_addr' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L107
class member 'VMStructs::_code_heap_high_addr' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L108
class member 'VMStructs::_klass_offset_addr' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L109
class member 'VMStructs::_narrow_klass_base_addr' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L110
class member 'VMStructs::_narrow_klass_base' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L111
class member 'VMStructs::_narrow_klass_shift_addr' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L112
class member 'VMStructs::_narrow_klass_shift' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L113
class member 'VMStructs::_collected_heap' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L115
class member 'VMStructs::_collected_heap_reserved_offset' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L116
class member 'VMStructs::_region_start_offset' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L117
class member 'VMStructs::_region_size_offset' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L118
class member 'VMStructs::_markword_klass_shift' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L119
class member 'VMStructs::_markword_monitor_value' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L120
class member 'VMStructs::_unsigned5_base' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L122
class member 'VMStructs::_call_stub_return_addr' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L123
class member 'VMStructs::_find_flag_func' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L148
class member 'VMStructs::_is_valid_method_func' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L151
class member 'HeapUsage::is_jmx_attempted' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L574
class member 'PcDesc::_pc' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L685
class member 'PcDesc::_scope_offset' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L686
class member 'PcDesc::_obj_offset' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L687
class member 'PcDesc::_flags' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L688
Local variable 'interval' shadows outer functionhttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/wallClock.cpp#L114
Variable 'context' can be declared as reference to consthttps://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/wallClock.cpp#L73
struct member 'ThreadEntry::native' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/wallClock.h#L162
The function 'patchImport' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/codeCache.cpp#L304
The function 'getCounter' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/counters.h#L103
The function 'supported' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/ctimer.h#L71
The function 'updateCounter' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/engine.h#L24
The function 'deallocateLineNumberTable' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L56
The function 'copyTo' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L377
The function 'cpuMonitorCycle' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L528
The function 'appendRecording' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L564
The function 'writeListSetting' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.cpp#L793
The function 'active' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/flightRecorder.h#L309
The function 'units' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/itimer.h#L32
The function 'can_use_ASGCT' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/j9Ext.h#L56
The function 'is_jmethodid_safe' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/j9Ext.h#L63
The function 'GetJ9vmThread' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/j9Ext.h#L86
The function 'is_readable_pointer' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/jvm.cpp#L8
The function '_min' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/livenessTracker.cpp#L216
The function 'trace' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/log.cpp#L101
The function 'waitUntil' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/mutex.cpp#L38
The function 'notify' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/mutex.cpp#L44
The function 'cputime' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/os_macos.cpp#L130
The function 'ntoh64' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/os_macos.cpp#L163
The function 'schedPolicy' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/os_macos.cpp#L181
The function 'fileSize' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/os_macos.cpp#L335
The function 'flushJfr' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/profiler.cpp#L1304
The function 'restart' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/profiler.cpp#L1448
The function 'arg0' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame_aarch64.cpp#L42
The function 'arg2' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame_aarch64.cpp#L46
The function 'jarg0' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame_aarch64.cpp#L50
The function 'ret' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/stackFrame_aarch64.cpp#L56
The function 'clearParsingCaches' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/symbols_linux.cpp#L407
The function 'isDeepCrashHandler' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/thread.h#L109
The function 'getThreadId' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/threadInfo.cpp#L21
The function 'assign' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/trap.cpp#L32
The function 'covers' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/trap.h#L45
The function 'install' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/trap.h#L53
The function 'uninstall' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/trap.h#L55
The function 'loaded' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmEntry.h#L147
The function 'hasClassNames' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L187
The function 'hasCompilerStructs' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L191
The function 'body' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L250
The function 'fromHandle' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L280
The function 'fromMethodID' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L313
The function 'isEntryFrame' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L377
The function 'fromEnv' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L442
The function 'inJava' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L461
The function 'lastJavaFP' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L486
The function 'compiledMethod' is never used.https://github.com/DataDog/java-profiler/blob/jb/reuse_frames/ddprof-lib/src/main/cpp/vmStructs.h#L490
Please reload this pagehttps://github.com/DataDog/java-profiler/pull/174
https://github.com/jbachorik
jbachorikhttps://github.com/jbachorik
force-pushedhttps://github.com/DataDog/java-profiler/compare/ce93a060e8ad578cee2060cf59fa7a0358b8de26..e33fed47d058decb71952e260d38d5bcabc84f46
ce93a06https://github.com/DataDog/java-profiler/commit/ce93a060e8ad578cee2060cf59fa7a0358b8de26
e33fed4https://github.com/DataDog/java-profiler/commit/e33fed47d058decb71952e260d38d5bcabc84f46
Compare https://github.com/DataDog/java-profiler/compare/ce93a060e8ad578cee2060cf59fa7a0358b8de26..e33fed47d058decb71952e260d38d5bcabc84f46
January 28, 2025 17:46https://github.com/DataDog/java-profiler/pull/174#event-16097275889
https://github.com/MattAlp
MattAlphttps://github.com/MattAlp
Jan 28, 2025 https://github.com/DataDog/java-profiler/pull/174#pullrequestreview-2579039117
View reviewed changes https://github.com/DataDog/java-profiler/pull/174/files
ddprof-lib/src/main/cpp/vmEntry.hhttps://github.com/DataDog/java-profiler/pull/174/files#diff-76cdb7cb62fd153958a3e715d20af235d460dabbbf7ee8e12fde44a424e4904c
Please reload this pagehttps://github.com/DataDog/java-profiler/pull/174
https://github.com/jbachorik
Cleanup JVMTI sampling implementationhttps://github.com/DataDog/java-profiler/pull/174/commits/6d7e2d5bbae8bd7c2aad64e8201b9b3ad6dc9f05
6d7e2d5https://github.com/DataDog/java-profiler/pull/174/commits/6d7e2d5bbae8bd7c2aad64e8201b9b3ad6dc9f05
https://github.com/jbachorik
jbachorikhttps://github.com/jbachorik
force-pushedhttps://github.com/DataDog/java-profiler/compare/e33fed47d058decb71952e260d38d5bcabc84f46..6d7e2d5bbae8bd7c2aad64e8201b9b3ad6dc9f05
e33fed4https://github.com/DataDog/java-profiler/commit/e33fed47d058decb71952e260d38d5bcabc84f46
6d7e2d5https://github.com/DataDog/java-profiler/commit/6d7e2d5bbae8bd7c2aad64e8201b9b3ad6dc9f05
Compare https://github.com/DataDog/java-profiler/compare/e33fed47d058decb71952e260d38d5bcabc84f46..6d7e2d5bbae8bd7c2aad64e8201b9b3ad6dc9f05
January 28, 2025 18:07https://github.com/DataDog/java-profiler/pull/174#event-16097523862
https://github.com/jbachorik
jbachorikhttps://github.com/jbachorik
bf74bf8https://github.com/DataDog/java-profiler/commit/bf74bf80e94f457fe7fd9b9c41b1447ecabd35e9
Jan 28, 2025https://github.com/DataDog/java-profiler/pull/174#event-16097664318
https://github.com/jbachorik
jbachorikhttps://github.com/jbachorik
January 28, 2025 18:20https://github.com/DataDog/java-profiler/pull/174#event-16097665805
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
1.20.0https://github.com/DataDog/java-profiler/milestone/26
Jan 28, 2025https://github.com/DataDog/java-profiler/pull/174#event-16097668234
https://github.com/jbachorik
jbachorikhttps://github.com/jbachorik
Feb 20, 2025 https://github.com/DataDog/java-profiler/pull/174#ref-pullrequest-2865324489
Bump ddprof to 1.21.0 DataDog/dd-trace-java#8426 https://github.com/DataDog/dd-trace-java/pull/8426
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%2F174
https://github.com/MattAlp
MattAlp https://github.com/MattAlp
https://github.com/DataDog/java-profiler/pull/174/files/e33fed47d058decb71952e260d38d5bcabc84f46
1.20.0 https://github.com/DataDog/java-profiler/milestone/26
Please reload this pagehttps://github.com/DataDog/java-profiler/pull/174
https://github.com/jbachorik
https://github.com/MattAlp
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.