Avoid primitive boxing in v0.4 serializer by dougqh · Pull Request #10408 · DataDog/dd-trace-java

added 14 commits

January 12, 2026 14:33
EntryIterator and EntryChangeIterator are arguably redundant
Fixed bug TagValueConversions.toBoolean
Could cause LegacyTagMap.EntryReader to produce incorrect answers to some queries

For simplicity, now treating Byte and Short as Integer.  That will make calling code doing primitive handling simpler.

Fleshing out tests -- more tests to come
Coverage for byte, short, float, and double
Updating the serializer to use TagMap traversal APIs.

By using new API, the serializer is now able to avoid boxing primitives when using OptimizedTagMap.

@bric3 bric3 changed the base branch from master to dougqh/tagmap-entryreader

January 21, 2026 16:24

@dougqh

Base automatically changed from dougqh/tagmap-entryreader to master

January 28, 2026 21:20

@dougqh

@dougqh

@dougqh

@dougqh

…d-trace-java into dougqh/v4-serializer-no-boxing

@dougqh dougqh deleted the dougqh/v4-serializer-no-boxing branch

January 29, 2026 15:02