Skip to content
3 changes: 1 addition & 2 deletions internal-api/src/main/java/datadog/trace/api/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -2952,8 +2952,7 @@ PROFILING_DATADOG_PROFILER_ENABLED, isDatadogProfilerSafeInCurrentEnvironment())

this.jdkSocketEnabled = configProvider.getBoolean(JDK_SOCKET_ENABLED, true);

this.optimizedMapEnabled =
configProvider.getBoolean(GeneralConfig.OPTIMIZED_MAP_ENABLED, false);
this.optimizedMapEnabled = configProvider.getBoolean(GeneralConfig.OPTIMIZED_MAP_ENABLED, true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious, if it is a config change, do we need to update some other place too?
@mhlidd Could you check this PR too?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that only applies if we introduce a config variable. This config has been in place for some time now.

this.spanBuilderReuseEnabled =
configProvider.getBoolean(GeneralConfig.SPAN_BUILDER_REUSE_ENABLED, true);
this.tagNameUtf8CacheSize =
Expand Down