You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2020/11/11 03:17:57 UTC
[GitHub] [skywalking] mainColorZwh edited a comment on pull request #5823: Update FileWriter.java
mainColorZwh edited a comment on pull request #5823:
URL: https://github.com/apache/skywalking/pull/5823#issuecomment-725104694
> This constructor should be called as soon as the agent main entrance loaded, as `SnifferConfigInitializer` has `LOGGER = LogManager.getLogger(SnifferConfigInitializer.class);`. Which case could cause the issue you describe? Do you face any real-world issue?
1.This constructor first called at 'PluginBootstrap.loadPlugins()' method (en... I have debugged for that).
2.FileWriter use singleton of double-check type to prevent concurrent problem , I just find that it is not a standard double-check type.It may be hard to produce the scenario because of low probability.
3.git hub dont support insert a picture ,so I attach a picture to explain more details at link [csdn](https://blog.csdn.net/dshf_1/article/details/109614612)
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org