| Skip to content | https://github.com/DataDog/java-profiler/pull/175#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FDataDog%2Fjava-profiler%2Fpull%2F175 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FDataDog%2Fjava-profiler%2Fpull%2F175 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=DataDog%2Fjava-profiler |
| Reload | https://github.com/DataDog/java-profiler/pull/175 |
| Reload | https://github.com/DataDog/java-profiler/pull/175 |
| Reload | https://github.com/DataDog/java-profiler/pull/175 |
| Please reload this page | https://github.com/DataDog/java-profiler/pull/175 |
|
DataDog
| https://github.com/DataDog |
| java-profiler | https://github.com/DataDog/java-profiler |
|
Notifications
| https://github.com/login?return_to=%2FDataDog%2Fjava-profiler |
|
Fork
12
| https://github.com/login?return_to=%2FDataDog%2Fjava-profiler |
|
Star
32
| https://github.com/login?return_to=%2FDataDog%2Fjava-profiler |
|
Code
| https://github.com/DataDog/java-profiler |
|
Issues
8
| https://github.com/DataDog/java-profiler/issues |
|
Pull requests
13
| https://github.com/DataDog/java-profiler/pulls |
|
Actions
| https://github.com/DataDog/java-profiler/actions |
|
Security and quality
0
| https://github.com/DataDog/java-profiler/security |
|
Insights
| https://github.com/DataDog/java-profiler/pulse |
|
Code
| https://github.com/DataDog/java-profiler |
|
Issues
| https://github.com/DataDog/java-profiler/issues |
|
Pull requests
| https://github.com/DataDog/java-profiler/pulls |
|
Actions
| https://github.com/DataDog/java-profiler/actions |
|
Security and quality
| https://github.com/DataDog/java-profiler/security |
|
Insights
| https://github.com/DataDog/java-profiler/pulse |
| jbachorik | https://github.com/jbachorik |
| main | https://github.com/DataDog/java-profiler/tree/main |
| jb/adustsp_crash_1 | https://github.com/DataDog/java-profiler/tree/jb/adustsp_crash_1 |
| Conversation | https://github.com/DataDog/java-profiler/pull/175 |
| Commits1 (1) | https://github.com/DataDog/java-profiler/pull/175/commits |
| Checks | https://github.com/DataDog/java-profiler/pull/175/checks |
| Files changed | https://github.com/DataDog/java-profiler/pull/175/files |
| Fix unsafe access to CodeCache | https://github.com/DataDog/java-profiler/pull/175#top |
| jbachorik | https://github.com/jbachorik |
| main | https://github.com/DataDog/java-profiler/tree/main |
| jb/adustsp_crash_1 | https://github.com/DataDog/java-profiler/tree/jb/adustsp_crash_1 |
|
| https://github.com/jbachorik |
| jbachorik | https://github.com/jbachorik |
| Feb 4, 2025 | https://github.com/DataDog/java-profiler/pull/175#issue-2830357323 |
| async-profiler/async-profiler@6207d5d | https://github.com/async-profiler/async-profiler/commit/6207d5dc865d9acdd8bfd8944177775d021f992c |
| Please reload this page | https://github.com/DataDog/java-profiler/pull/175 |
|
| https://github.com/apangin |
|
| https://github.com/jbachorik |
| Fix unsafe access to CodeCache | https://github.com/DataDog/java-profiler/pull/175/commits/87c03cb0296811f27a6e35dc298a8dd5a0544317 |
| 87c03cb | https://github.com/DataDog/java-profiler/pull/175/commits/87c03cb0296811f27a6e35dc298a8dd5a0544317 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Feb 4, 2025 | https://github.com/DataDog/java-profiler/pull/175#issuecomment-2634060760 |
| Quantity | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/Quantity#L6 |
| https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/#L3 |
| https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/#L1 |
| https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/#L1 |
| https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/#L1 |
| vmStructs.cpp | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.cpp#L872 |
| stackWalker.cpp | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackWalker.cpp#L160 |
| vmStructs.cpp | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.cpp#L977 |
| safeAccess.h | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/safeAccess.h#L33 |
| symbols_linux.h | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/symbols_linux.h#L129 |
| flightRecorder.cpp | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1513 |
| Please reload this page | https://github.com/DataDog/java-profiler/pull/175 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Feb 4, 2025 | https://github.com/DataDog/java-profiler/pull/175#issuecomment-2634064436 |
| The class 'RecordingBuffer' defines member function with name 'flushIfNeeded' also defined in its parent class 'Buffer'. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/buffers.h#L234 |
| Obsolete function 'alloca' called. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/arguments.h#L150 |
| struct member 'Multiplier::symbol' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/arguments.h#L90 |
| struct member 'Multiplier::multiplier' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/arguments.h#L91 |
| class member 'Error::OK' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/spinLock.h#L32 |
| Local variable 'count' shadows outer function | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/codeCache.h#L202 |
| Local variable 'jni' shadows outer function | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmEntry.h#L155 |
| Local variable 'size' shadows outer function | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/callTraceStorage.cpp#L38 |
| Local variable 'prev' shadows outer function | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/callTraceStorage.cpp#L63 |
| Variable 'cb1' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/codeCache.h#L76 |
| Variable 'cb2' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/codeCache.h#L77 |
| Variable 'keys' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/callTraceStorage.cpp#L115 |
| Parameter 'frames' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/callTraceStorage.cpp#L136 |
| Parameter 'frames' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/callTraceStorage.cpp#L169 |
| Variable 'keys' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/callTraceStorage.cpp#L188 |
| struct member 'CallTrace::truncated' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/callTraceStorage.h#L30 |
| struct member 'CallTrace::num_frames' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/callTraceStorage.h#L31 |
| class member 'CallTraceStorage::_current_table' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/callTraceStorage.h#L65 |
| class member 'CallTraceStorage::_overflow' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/callTraceStorage.h#L66 |
| class member 'CallTraceStorage::_lock' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/callTraceStorage.h#L68 |
| Local variable 'i' shadows outer variable | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/codeCache.cpp#L268 |
| Parameter 'prefixes' can be declared as reference to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/codeCache.cpp#L258 |
| Variable 'fd1' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/dwarf.h#L82 |
| Variable 'fd2' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/dwarf.h#L83 |
| Parameter 'name' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/codeCache.cpp#L263 |
| struct member 'Tag::value' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/context.h#L27 |
| class member 'Context::spanId' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/context.h#L32 |
| class member 'Context::rootSpanId' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/context.h#L33 |
| class member 'Context::checksum' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/context.h#L34 |
| struct member 'ContextPage::capacity' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/context.h#L46 |
| struct member 'ContextPage::storage' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/context.h#L47 |
| class member 'Contexts::_max_pages' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/context.h#L53 |
| class member 'Contexts::_pages' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/dictionary.h#L66 |
| struct member 'DictRow::keys' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/dictionary.h#L33 |
| struct member 'DictRow::next' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/dwarf.cpp#L89 |
| Local variable 'table' shadows outer function | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/dwarf.cpp#L137 |
| Local variable 'pc_off' shadows outer variable | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/dwarf.cpp#L298 |
| Variable 'table' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/dwarf.cpp#L137 |
| struct member 'FrameDesc::cfa' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/dwarf.h#L74 |
| struct member 'FrameDesc::fp_off' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/dwarf.h#L75 |
| struct member 'FrameDesc::pc_off' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/dwarf.h#L76 |
| struct member 'FrameDesc::empty_frame' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/dwarf.h#L78 |
| struct member 'FrameDesc::default_frame' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/dwarf.h#L79 |
| class member 'DwarfParser::_name' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/dwarf.h#L90 |
| class member 'DwarfParser::_image_base' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/dwarf.h#L91 |
| class member 'DwarfParser::_capacity' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/dwarf.h#L94 |
| class member 'DwarfParser::_prev' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/dwarf.h#L97 |
| class member 'DwarfParser::_code_align' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/dwarf.h#L99 |
| class member 'DwarfParser::_data_align' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/event.h#L85 |
| class member 'LockEvent::_start_time' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/event.h#L59 |
| class member 'LockEvent::_end_time' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/event.h#L60 |
| class member 'LockEvent::_address' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/event.h#L61 |
| class member 'LockEvent::_timeout' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/event.h#L62 |
| class member 'ObjectLivenessEvent::_alloc' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/event.h#L67 |
| class member 'ObjectLivenessEvent::_skipped' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/event.h#L68 |
| class member 'ObjectLivenessEvent::_start_time' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/event.h#L69 |
| class member 'ObjectLivenessEvent::_age' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/event.h#L70 |
| class member 'ObjectLivenessEvent::_ctx' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/event.h#L71 |
| struct member 'QueueTimeEvent::_start' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/event.h#L150 |
| struct member 'QueueTimeEvent::_end' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/event.h#L151 |
| struct member 'QueueTimeEvent::_task' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/event.h#L152 |
| struct member 'QueueTimeEvent::_scheduler' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/event.h#L153 |
| struct member 'QueueTimeEvent::_origin' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/event.h#L154 |
| struct member 'QueueTimeEvent::_queueType' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/event.h#L155 |
| struct member 'QueueTimeEvent::_queueLength' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/objectSampler.h#L67 |
| Condition 'enabled()' is always false | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/tsc.h#L63 |
| Condition 'usage._maxSize==-1' is always false | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.h#L654 |
| Condition 'counters' is always false | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1247 |
Condition 'i| https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1249 | |
| Condition '!TSC::initialized()' is always false | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.cpp#L143 |
| Local variable 'start' shadows outer function | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1606 |
| Parameter 'frame' can be declared as reference to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.cpp#L279 |
| Variable 'strings' can be declared as reference to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.cpp#L652 |
| Parameter 'args' can be declared as reference to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.cpp#L723 |
| Parameter 'constants' can be declared as reference to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/safeAccess.h#L36 |
| Variable 'methods' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.h#L297 |
| Parameter 'func' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.cpp#L111 |
| Variable 'counters' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1246 |
| Parameter 'event' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1277 |
| Parameter 'event' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1292 |
| Parameter 'event' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1306 |
| Parameter 'event' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1320 |
| Parameter 'event' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1335 |
| Parameter 'event' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1352 |
| Parameter 'event' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.cpp#L1389 |
| Parameter 'event' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.cpp#L143 |
| Parameter 'ptr' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/safeAccess.h#L36 |
| struct member 'CpuTime::real' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.h#L55 |
| struct member 'CpuTime::user' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.h#L56 |
| struct member 'CpuTime::system' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.h#L57 |
| struct member 'CpuTimes::proc' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.h#L61 |
| struct member 'CpuTimes::total' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.h#L62 |
| class member 'Recording::_agent_properties' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.h#L124 |
| class member 'Recording::_jvm_args' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.h#L125 |
| class member 'Recording::_jvm_flags' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.h#L126 |
| class member 'Recording::_java_command' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.h#L127 |
| class member 'Recording::_fd' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.h#L130 |
| class member 'Recording::_start_time' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.h#L137 |
| class member 'Recording::_start_ticks' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.h#L139 |
| class member 'Recording::_stop_time' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.h#L140 |
| class member 'Recording::_stop_ticks' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.h#L141 |
| class member 'Recording::_base_id' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.h#L143 |
| class member 'Recording::_bytes_written' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.h#L144 |
| class member 'Recording::_tid' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.h#L146 |
| class member 'Recording::_available_processors' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.h#L150 |
| class member 'Recording::_last_times' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.h#L152 |
| class member 'FlightRecorder::_filename' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/itimer.h#L42 |
| class member 'ITimer::_cstack' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/j9Ext.h#L32 |
| struct member 'jvmtiStackInfoExtended::frame_buffer' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/j9Ext.h#L38 |
| class member 'J9Ext::InstrumentableObjectAlloc_id' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/j9WallClock.h#L29 |
| class member 'J9WallClock::_running' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/wallClock.h#L135 |
| Variable 'value' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/javaApi.cpp#L332 |
| class member 'JfrMetadata::_initialized' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/jvm.h#L9 |
| class member 'VirtualSpaceSummary::_committed_end' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/jvmHeap.h#L29 |
| class member 'GCHeapSummary::vptr' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/jvmHeap.h#L42 |
| class member 'CollectedHeap::vptr' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/jvmHeap.h#L65 |
| struct member 'Chunk::prev' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/linearAllocator.h#L23 |
| struct member 'Chunk::offs' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/linearAllocator.h#L24 |
| struct member 'Chunk::_padding' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/linearAllocator.h#L26 |
| class member 'LinearAllocator::_chunk_size' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/linearAllocator.h#L31 |
| class member 'LinearAllocator::_tail' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/linearAllocator.h#L32 |
| class member 'LinearAllocator::_reserve' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/linearAllocator.h#L33 |
| Local variable 'start' shadows outer function | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/livenessTracker.cpp#L59 |
| Local variable 'start' shadows outer function | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/livenessTracker.cpp#L101 |
| Parameter 'args' can be declared as reference to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/livenessTracker.cpp#L218 |
| Parameter 'event' can be declared as reference to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/livenessTracker.cpp#L282 |
| Unused variable: kept_classes | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/livenessTracker.cpp#L61 |
| struct member 'TrackingEntry::alloc' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/livenessTracker.h#L33 |
| struct member 'TrackingEntry::skipped' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/livenessTracker.h#L35 |
| struct member 'TrackingEntry::ctx' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/livenessTracker.h#L48 |
| class member 'LivenessTracker::_table_lock' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/livenessTracker.h#L54 |
| Condition 'level>=_level' is always true | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/log.cpp#L87 |
| Parameter 'args' can be declared as reference to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/log.cpp#L27 |
| class member 'Log::_file' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/log.h#L35 |
| class member 'Log::LEVEL_NAME' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/objectSampler.h#L45 |
| class member 'JitWriteProtection::_prev' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/os.h#L44 |
| class member 'JitWriteProtection::_restore' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/os.h#L45 |
| class member 'OS::page_size' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/os.h#L54 |
| class member 'OS::page_mask' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/perfEvents.h#L97 |
| The function 'enableEvents' overrides a function in a base class but is identical to the overridden function | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/perfEvents.h#L88 |
| The function 'registerThread' overrides a function in a base class but is identical to the overridden function | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/perfEvents.h#L94 |
| The function 'unregisterThread' overrides a function in a base class but is identical to the overridden function | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/perfEvents.h#L95 |
Condition 'i| https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/profiler.cpp#L468 | |
| Condition 'event_name==NULL' is always true | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/profiler.cpp#L1429 |
| Variable 'sp' can be declared as reference to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/profiler.cpp#L513 |
| Variable 'pc' can be declared as reference to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/profiler.cpp#L514 |
| Parameter 'args' can be declared as reference to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/profiler.cpp#L1014 |
| Parameter 'java_ctx' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/profiler.cpp#L1393 |
| Condition 'length>0' is always false | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/profiler.cpp#L882 |
| class member 'Profiler::_signals_initialized' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/profiler.h#L103 |
| class member 'Profiler::_locks' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/profiler.h#L104 |
| Condition 'strcmp(name,"forward_copy_longs")==0' is always false | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame_aarch64.cpp#L71 |
| Condition 'strcmp(name,"backward_copy_longs")==0' is always false | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame_aarch64.cpp#L72 |
| Variable 'ip' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame_aarch64.cpp#L60 |
| Parameter 'ip' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame_aarch64.cpp#L105 |
| Variable 'ip' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame_aarch64.cpp#L153 |
| Parameter 'pc' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame_aarch64.cpp#L214 |
| Unused private function: 'StackFrame::withinCurrentStack' | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame.h#L30 |
| Variable 'ip' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame_arm.cpp#L77 |
| Parameter 'entry' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame_arm.cpp#L75 |
| Variable 'ip' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame_arm.cpp#L89 |
| Parameter 'pc' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame_arm.cpp#L126 |
| Variable 'ip' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame_i386.cpp#L71 |
| Variable 'ip' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame_i386.cpp#L99 |
| Variable 'entry' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame_i386.cpp#L100 |
| Parameter 'pc' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame_i386.cpp#L133 |
| Parameter 'sp' can be declared as reference to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame_ppc64.cpp#L119 |
| Variable 'inst' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame_ppc64.cpp#L91 |
| Variable 'inst' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame_ppc64.cpp#L105 |
| Parameter 'pc' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame_ppc64.cpp#L161 |
| Variable 'ip' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame_x64.cpp#L66 |
| Parameter 'pc' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame_x64.cpp#L262 |
| Local variable 'pc' shadows outer function | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame_x64.cpp#L244 |
| Return value 'ptr>(const void*)-DEAD_ZONE' is always true | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackWalker.cpp#L38 |
| Condition '!inDeadZone(method)' is always false | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackWalker.cpp#L58 |
| Condition '!inDeadZone(method_id)' is always false | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackWalker.cpp#L60 |
| Condition 'inDeadZone(pc)' is always true | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackWalker.cpp#L117 |
| Condition 'inDeadZone(pc)' is always true | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackWalker.cpp#L222 |
| Condition 'is_plausible_interpreter_frame' is always false | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackWalker.cpp#L339 |
| Condition 'inDeadZone(pc)' is always true | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackWalker.cpp#L459 |
| The comparison 'EMPTY_FRAME_SIZE > 0' is always false. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackWalker.cpp#L207 |
| The comparison 'EMPTY_FRAME_SIZE > 0' is always false. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackWalker.cpp#L444 |
| The scope of the variable 'prev_sp' can be reduced. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackWalker.cpp#L135 |
| Local variable 'frame' shadows outer variable | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackWalker.cpp#L81 |
| Variable 'page_start' is assigned a value that is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackWalker.cpp#L160 |
| The comparison 'EMPTY_FRAME_SIZE > 0' is always false. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackWalker.cpp#L207 |
| The comparison 'EMPTY_FRAME_SIZE > 0' is always false. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackWalker.cpp#L444 |
| Class 'SymbolDesc' has a constructor with 1 argument that is not explicit. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/symbols_linux.h#L35 |
| Local variable 'section' shadows outer function | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/symbols_linux.cpp#L44 |
| Local variable 'section' shadows outer function | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/symbols_linux.cpp#L287 |
| Local variable 'section' shadows outer function | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/symbols_linux.cpp#L313 |
| Variable 'ident' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/symbols_linux.h#L133 |
| Parameter 'section' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/symbols_linux.h#L144 |
| Variable 'checked' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/symbols_linux.cpp#L61 |
| Variable 'pheader' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/symbols_linux.cpp#L116 |
| Variable 'sym' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/symbols_linux.cpp#L199 |
| Variable 'sym' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/symbols_linux.cpp#L210 |
| Variable 'chain' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/symbols_linux.cpp#L250 |
| Variable 'plt' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/symbols_linux.cpp#L272 |
| Variable 'note' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/symbols_linux.cpp#L292 |
| Variable 'sym' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/symbols_linux.cpp#L358 |
| Variable 'sym' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/symbols_linux.cpp#L384 |
| Local variable 'tid' shadows outer function | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/thread.cpp#L32 |
| Local variable 'tid' shadows outer function | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/thread.cpp#L130 |
| class member 'ProfiledThread::_buffer_size' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/thread.h#L24 |
| class member 'ProfiledThread::_buffer' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/thread.h#L26 |
| Local variable 'word' shadows outer function | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/threadFilter.cpp#L133 |
| class member 'ThreadFilter::_max_bitmaps' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/threadFilter.h#L34 |
| class member 'ThreadInfo::_thread_names' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/threadInfo.h#L12 |
| class member 'ThreadInfo::_thread_ids' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/threadInfo.h#L13 |
| class member 'Trap::_page_start' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/trap.h#L36 |
| Local variable 'frequency' shadows outer function | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/tsc.cpp#L41 |
| Local variable 'flag_addr' shadows outer variable | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmEntry.cpp#L395 |
| Variable 'idx' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmEntry.cpp#L118 |
| Parameter 'prop_value' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmEntry.cpp#L139 |
| Variable 'flag_addr' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmEntry.cpp#L395 |
| Parameter 'options' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmEntry.cpp#L545 |
| struct member 'ASGCT_CallTrace::env' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmEntry.h#L73 |
| struct member 'ASGCT_CallTrace::frames' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmEntry.h#L75 |
| struct member 'VMManagement::unused' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmEntry.h#L81 |
| struct member 'JVMTIFunctions::unused1' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmEntry.h#L88 |
| struct member 'JVMTIFunctions::unused2' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmEntry.h#L91 |
| struct member 'JavaFullVersion::major' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmEntry.h#L96 |
| struct member 'JavaFullVersion::update' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/vmEntry.h#L118 |
| class member 'VM::_libjvm' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmEntry.h#L137 |
| class member 'VM::_libjava' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmEntry.h#L138 |
| class member 'VM::_asyncGetCallTrace' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.cpp#L931 |
| Local variable 'type' shadows outer function | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/safeAccess.h#L36 |
| Variable 'code_heap_array' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.cpp#L433 |
| Variable 'blob' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.cpp#L526 |
| Parameter 'vm_thread' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.cpp#L561 |
| Variable 'segmap' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.cpp#L797 |
| Variable 'type_name' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.cpp#L835 |
| Variable 'pcd_end' can be declared as pointer to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.h#L97 |
| class member 'VMStructs::_flags_addr' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.h#L100 |
| class member 'VMStructs::_flag_count' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.h#L101 |
| class member 'VMStructs::_flag_size' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.h#L113 |
| class member 'VMStructs::_collected_heap' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.h#L120 |
| class member 'VMStructs::_unsigned5_base' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/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/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.h#L574 |
| class member 'PcDesc::_pc' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.h#L685 |
| class member 'PcDesc::_scope_offset' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.h#L686 |
| class member 'PcDesc::_obj_offset' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.h#L687 |
| class member 'PcDesc::_flags' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.h#L688 |
| Local variable 'interval' shadows outer function | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/wallClock.cpp#L114 |
| Variable 'context' can be declared as reference to const | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/wallClock.cpp#L73 |
| struct member 'ThreadEntry::native' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/wallClock.h#L162 |
| The function 'patchImport' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/codeCache.cpp#L304 |
| The function 'getCounter' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/counters.h#L103 |
| The function 'supported' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/ctimer.h#L71 |
| The function 'updateCounter' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/engine.h#L24 |
| The function 'deallocateLineNumberTable' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.cpp#L56 |
| The function 'copyTo' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.cpp#L377 |
| The function 'cpuMonitorCycle' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.cpp#L528 |
| The function 'appendRecording' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.cpp#L564 |
| The function 'writeListSetting' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.cpp#L793 |
| The function 'active' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/flightRecorder.h#L309 |
| The function 'units' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/itimer.h#L32 |
| The function 'can_use_ASGCT' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/j9Ext.h#L56 |
| The function 'is_jmethodid_safe' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/j9Ext.h#L63 |
| The function 'GetJ9vmThread' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/j9Ext.h#L86 |
| The function 'is_readable_pointer' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/jvm.cpp#L8 |
| The function '_min' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/livenessTracker.cpp#L216 |
| The function 'trace' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/log.cpp#L101 |
| The function 'waitUntil' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/mutex.cpp#L38 |
| The function 'notify' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/mutex.cpp#L44 |
| The function 'cputime' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/os_macos.cpp#L130 |
| The function 'ntoh64' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/os_macos.cpp#L163 |
| The function 'schedPolicy' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/os_macos.cpp#L181 |
| The function 'fileSize' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/os_macos.cpp#L335 |
| The function 'flushJfr' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/profiler.cpp#L1304 |
| The function 'restart' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/profiler.cpp#L1448 |
| The function 'arg0' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame_aarch64.cpp#L42 |
| The function 'arg2' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame_aarch64.cpp#L46 |
| The function 'jarg0' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame_aarch64.cpp#L50 |
| The function 'ret' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/stackFrame_aarch64.cpp#L56 |
| The function 'clearParsingCaches' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/symbols_linux.cpp#L407 |
| The function 'isDeepCrashHandler' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/thread.h#L109 |
| The function 'getThreadId' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/threadInfo.cpp#L21 |
| The function 'assign' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/trap.cpp#L32 |
| The function 'covers' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/trap.h#L45 |
| The function 'install' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/trap.h#L53 |
| The function 'uninstall' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/trap.h#L55 |
| The function 'loaded' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmEntry.h#L147 |
| The function 'hasClassNames' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.h#L187 |
| The function 'hasCompilerStructs' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.h#L191 |
| The function 'body' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.h#L250 |
| The function 'fromHandle' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.h#L280 |
| The function 'fromMethodID' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.h#L313 |
| The function 'isEntryFrame' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.h#L377 |
| The function 'fromEnv' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.h#L442 |
| The function 'inJava' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.h#L461 |
| The function 'lastJavaFP' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.h#L486 |
| The function 'compiledMethod' is never used. | https://github.com/DataDog/java-profiler/blob/jb/adustsp_crash_1/ddprof-lib/src/main/cpp/vmStructs.h#L490 |
| Please reload this page | https://github.com/DataDog/java-profiler/pull/175 |
| https://github.com/MattAlp |
| MattAlp | https://github.com/MattAlp |
|
Feb 4, 2025
| https://github.com/DataDog/java-profiler/pull/175#pullrequestreview-2592971737 |
|
View reviewed changes
| https://github.com/DataDog/java-profiler/pull/175/files/87c03cb0296811f27a6e35dc298a8dd5a0544317 |
| https://github.com/jbachorik |
| jbachorik | https://github.com/jbachorik |
| 3bf0964 | https://github.com/DataDog/java-profiler/commit/3bf096458ff9367ae16689dd5cd62c31a454d176 |
| Feb 4, 2025 | https://github.com/DataDog/java-profiler/pull/175#event-16180086987 |
| https://github.com/jbachorik |
| jbachorik | https://github.com/jbachorik |
| February 4, 2025 14:39 | https://github.com/DataDog/java-profiler/pull/175#event-16180088532 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| 1.20.0 | https://github.com/DataDog/java-profiler/milestone/26 |
| Feb 4, 2025 | https://github.com/DataDog/java-profiler/pull/175#event-16180090679 |
| https://github.com/jbachorik |
| jbachorik | https://github.com/jbachorik |
|
Feb 20, 2025
| https://github.com/DataDog/java-profiler/pull/175#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 free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FDataDog%2Fjava-profiler%2Fpull%2F175 |
|
| https://github.com/MattAlp |
|
MattAlp
| https://github.com/MattAlp |
|
| https://github.com/DataDog/java-profiler/pull/175/files/87c03cb0296811f27a6e35dc298a8dd5a0544317 |
|
1.20.0
| https://github.com/DataDog/java-profiler/milestone/26 |
| Please reload this page | https://github.com/DataDog/java-profiler/pull/175 |
|
| https://github.com/jbachorik |
|
| https://github.com/MattAlp |
|
| https://github.com/apangin |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |