skywalking-java/apm-sniffer/optional-plugins/optional-spring-plugins/spring-tx-plugin
kezhenxu94 fa1e60f411
Reduce footprint when tagging spans via prototype pattern (#4318)
### Motivation:

Reduce footprint when tagging spans with the deprecated API: `AbstractSpan#tag(String, String)`.

### Modifications:

- Adopt [prototype pattern](https://en.wikipedia.org/wiki/Prototype_pattern) to create `Tag`, prevent from creating too many `StringTag` instances and `GC`ed.
- Replace `AbstractSpan#tag(String, String)` with `AbstractSpan#tag(AbstractTag, String)`.

### Result:

- Footprint is reduced.
2020-02-05 11:32:51 +08:00
..
src/main Reduce footprint when tagging spans via prototype pattern (#4318) 2020-02-05 11:32:51 +08:00
pom.xml Set the main branch to 7.0.0-SNAPSHOT (#4115) 2019-12-24 16:37:13 +08:00