File tree 2 files changed +7
-6
lines changed
dd-java-agent/agent-bootstrap/src/main/java/datadog/trace/bootstrap
dd-trace-api/src/main/java/datadog/trace/api/config
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -755,12 +755,13 @@ private static synchronized void registerSmapEntryEvent() {
755
755
"com.datadog.profiling.controller.openjdk.events.SmapEntryFactory" );
756
756
final Method registerMethod = smapFactoryClass .getMethod ("registerEvents" );
757
757
registerMethod .invoke (null );
758
- } catch (final NoClassDefFoundError
758
+ } catch (final NoSuchMethodException
759
+ | NoClassDefFoundError
759
760
| ClassNotFoundException
760
- | UnsupportedClassVersionError ignored ) {
761
+ | UnsupportedClassVersionError
762
+ | IllegalAccessException
763
+ | InvocationTargetException ignored ) {
761
764
log .debug ("Smap entry scraping not supported" );
762
- } catch (final Throwable ex ) {
763
- log .error ("Unable to initialize smap entry scraping" , ex );
764
765
}
765
766
}
766
767
Original file line number Diff line number Diff line change @@ -208,12 +208,12 @@ public final class ProfilingConfig {
208
208
public static final String PROFILING_SMAP_COLLECTION_ENABLED =
209
209
"profiling.smap.collection.enabled" ;
210
210
211
- public static final boolean PROFILING_SMAP_COLLECTION_ENABLED_DEFAULT = true ;
211
+ public static final boolean PROFILING_SMAP_COLLECTION_ENABLED_DEFAULT = false ;
212
212
213
213
public static final String PROFILING_SMAP_AGGREGATION_ENABLED =
214
214
"profiling.smap.aggregation.enabled" ;
215
215
216
- public static final boolean PROFILING_SMAP_AGGREGATION_ENABLED_DEFAULT = true ;
216
+ public static final boolean PROFILING_SMAP_AGGREGATION_ENABLED_DEFAULT = false ;
217
217
218
218
public static final String PROFILING_QUEUEING_TIME_THRESHOLD_MILLIS =
219
219
"profiling.queueing.time.threshold.millis" ;
You can’t perform that action at this time.
0 commit comments