Commit Graph

12 Commits

Author SHA1 Message Date
Nikolay Martynov bef848ec2d Disable coverage and add TODO 2020-04-13 18:44:18 -04:00
Nikolay Martynov 683477bd60 Simplify WeakMapSuppliers
Also move CleanerTest to PeriodicSchedulingTest
2020-04-13 17:30:31 -04:00
Nikolay Martynov d86093c474 Minor CR fixes and some comments 2020-04-13 17:05:30 -04:00
Nikolay Martynov 1fb844ab5f Make `CommonTaskExecutor` periodic tasks safe
* Verify that we can schedule task and catch exceptions.
This should help to avoid additional exceptions on app crash during
  startup.

* Avoid holding strong references from within executor to make sure
  that things can get GCed.
2020-04-13 16:04:31 -04:00
Tyler Benson 486d98135e Code review changes 2020-02-10 11:37:36 -08:00
Tyler Benson 9c6cfbe359 Fix shutdown hook. 2020-02-10 10:45:58 -08:00
Tyler Benson e5980d4812 Fix muzzle 2020-02-10 10:45:58 -08:00
Tyler Benson 75c7769192 Reduce tracer thread count by combining scheduled executors into a single executor.
Pulls out utility classes for reuse by other projects.

This also meant the dependency had to be bundled with dd-trace-ot since it isn't published as a separate dependency.
2020-02-10 10:45:58 -08:00
Nikolay Martynov ad79db6183 Avoid loading `Config` in `DDSpecification`
Loading `Config` in static section of `DDSpecification` happens before
bootstrap jar has been setup. This in turn causes problems down the
road because some of the classes are later loaded from bootstrap and
confuse things.
2019-10-10 12:56:53 -04:00
Tyler Benson 9ef3332140 Extract base test class and move Config class changes there. 2019-10-07 18:51:25 +02:00
Tyler Benson 133460a79a Stop making hard references in HelperInjector
Also make awaitGC interruptable.
2019-02-27 19:09:01 -08:00
Tyler Benson 03bcdc97cc Move awaitGC to common utility package 2019-01-25 10:32:09 -08:00