Skip to content

Conversation

ivoanjo
Copy link
Member

@ivoanjo ivoanjo commented Sep 4, 2025

What does this PR do?

This PR upgrades the process context support with the latest version (0.0.7) of the reference library, taken from
https://github.com/DataDog/fullhost-code-hotspots-wip/tree/5ec6258b3bd498d5aded14e081bc740a8134ed54/lang-exp/anonmapping-clib.

Of interest, this version of the context support library:

  • Fixes a build issue on the noop build (non-Linux support)
  • Fixes dropping the mapping not fully dropping the mapping correctly
  • Makes reading work on Linux < 5.17

No changes are needed on the Java side to adopt these improvements.

Motivation:

Get latest version into dd-trace-java!

Additional Notes:

N/A

How to test the change?

The current test coverage should be enough to validate these changes.

For Datadog employees:

  • If this PR touches code that signs or publishes builds or packages, or handles
    credentials of any kind, I've requested a review from @DataDog/security-design-and-guidance.
  • This PR doesn't touch any of that.
  • JIRA: [JIRA-12372]

…erence library

**What does this PR do?**

This PR upgrades the process context support with the latest version
(0.0.7) of the reference library, taken from
<https://github.com/DataDog/fullhost-code-hotspots-wip/tree/5ec6258b3bd498d5aded14e081bc740a8134ed54/lang-exp/anonmapping-clib>.

Of interest, this version of the context support library:
* Fixes a build issue on the noop build (non-Linux support)
* Fixes dropping the mapping not fully dropping the mapping correctly
* Makes reading work on Linux < 5.17

No changes are needed on the Java side to adopt these improvements.

**Motivation:**

Get latest version into dd-trace-java!

**Additional Notes:**

N/A

**How to test the change?**

The current test coverage should be enough to validate these changes.
@jbachorik jbachorik merged commit a9d1b19 into DataDog:main Sep 5, 2025
93 of 94 checks passed
@ivoanjo ivoanjo deleted the ivoanjo/prof-12372-update-otel-context-lib branch September 8, 2025 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants