skywalking-java/apm-sniffer/optional-plugins/optional-spring-plugins
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
..
optional-spring-cloud Set the main branch to 7.0.0-SNAPSHOT (#4115) 2019-12-24 16:37:13 +08:00
spring-annotation-plugin Set the main branch to 7.0.0-SNAPSHOT (#4115) 2019-12-24 16:37:13 +08:00
spring-tx-plugin Reduce footprint when tagging spans via prototype pattern (#4318) 2020-02-05 11:32:51 +08:00
pom.xml Move Webflux plugin into default list. (#4129) 2019-12-25 22:08:14 +08:00