Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: DataDog/java-profiler
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: b3b05d6
Choose a base ref
...
head repository: DataDog/java-profiler
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e8109e8
Choose a head ref
  • 12 commits
  • 26 files changed
  • 5 contributors

Commits on Nov 7, 2025

  1. JVM hangs during shutdown (#287)

    (cherry picked from commit 292144f)
    zhengyu123 authored and jbachorik committed Nov 7, 2025
    Configuration menu
    Copy the full SHA
    4994336 View commit details
    Browse the repository at this point in the history
  2. Fix use-after-free in CallTraceStorage and optimize trace collection (#…

    …290)
    
    * Fix use-after-free in CallTraceStorage and optimize trace collection
    
    The original issue was a use-after-free bug in CallTraceStorage::processTraces()
    where trace pointers were accessed after the memory was deallocated during
    triple-buffer rotation.
    
    Key changes:
    - Fixed use-after-free by copying preserved traces immediately using putWithExistingId()
    - Added optional hook parameter to CallTraceHashTable::collect() for inline processing
    - Eliminated separate trace buffers (_standby_traces_buffer, _active_traces_buffer)
    - Simplified processTraces() to collect directly to _traces_buffer with hooks
    - Removed double iteration pattern (collect then iterate) in favor of single pass
    - Added regression test to catch use-after-free with frame content access
    
    The fix ensures memory safety while improving performance by eliminating
    unnecessary buffer copying and reducing iteration overhead.
    
    Co-Authored-By: Claude <[email protected]>
    (cherry picked from commit 91fc9ec)
    jbachorik and claude committed Nov 7, 2025
    Configuration menu
    Copy the full SHA
    7b9d5d6 View commit details
    Browse the repository at this point in the history
  3. [Automated] Bump dev version to 1.34.1

    Datadog Java Profiler committed Nov 7, 2025
    Configuration menu
    Copy the full SHA
    454e049 View commit details
    Browse the repository at this point in the history
  4. [Automated] Bump dev version to 1.34.2

    Datadog Java Profiler committed Nov 7, 2025
    Configuration menu
    Copy the full SHA
    09af088 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2025

  1. [Automated] Bump dev version to 1.34.3

    Datadog Java Profiler committed Nov 10, 2025
    Configuration menu
    Copy the full SHA
    0138b72 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2025

  1. Avoid potential deadlocks from using std::* operations in signal hand…

    …lers (#293)
    
    * Avoid potential deadlocks from using std::* operations in signal handlers
    
    * Avoid intermittent failures in traceid generation tests
    
    * Mark fields with concurrent access as volatile
    
    (cherry picked from commit 8070f3c)
    jbachorik committed Nov 11, 2025
    Configuration menu
    Copy the full SHA
    46e25b2 View commit details
    Browse the repository at this point in the history
  2. [Automated] Bump dev version to 1.34.4

    Datadog Java Profiler authored and jbachorik committed Nov 11, 2025
    Configuration menu
    Copy the full SHA
    31de25d View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2025

  1. [PROF-12990] Improve locking and prevent use-after-free in FlightReco…

    …rder
    
    (cherry picked from commit af11ba0)
    rkennke authored and jbachorik committed Dec 5, 2025
    Configuration menu
    Copy the full SHA
    1c432ee View commit details
    Browse the repository at this point in the history
  2. Misused posix_memalign results in memory leak and returning wrong lib…

    … index (#296)
    
    (cherry picked from commit dcfc396)
    zhengyu123 authored and jbachorik committed Dec 5, 2025
    Configuration menu
    Copy the full SHA
    a59bee8 View commit details
    Browse the repository at this point in the history
  3. WalkVM crash in dd-java-agent v1.56.0 (#298)

    (cherry picked from commit 5ec6f6a)
    zhengyu123 authored and jbachorik committed Dec 5, 2025
    Configuration menu
    Copy the full SHA
    3f1ab0e View commit details
    Browse the repository at this point in the history
  4. Fix another hidden use-after-free in CallTraceStorage (#301)

    (cherry picked from commit e800295)
    jbachorik committed Dec 5, 2025
    Configuration menu
    Copy the full SHA
    06130aa View commit details
    Browse the repository at this point in the history
  5. Merge pull request #305 from DataDog/jb/1.34.4_backports

    Backport critical fixes to 1.34.4
    jbachorik authored Dec 5, 2025
    Configuration menu
    Copy the full SHA
    e8109e8 View commit details
    Browse the repository at this point in the history
Loading