You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by "xiaqi1210 (via GitHub)" <gi...@apache.org> on 2023/06/14 00:53:06 UTC

[GitHub] [skywalking] xiaqi1210 commented on issue #10925: [Bug] apm-jdk-threadpool-plugin does not work in certain scenarios

xiaqi1210 commented on issue #10925:
URL: https://github.com/apache/skywalking/issues/10925#issuecomment-1590263758

   > And if you want to fix this, you could change it by following `Solution B`. Again, this is not a bug about AgentClassLoader or jar file scanning, instead, this is typically `instrumented target had been loaded and used in the kernel before the instrumentation`.
   > 
   > About your `Solution B`, we don't have to `use a combination of Timer and TimerTask to schedule periodic log`. We don't know whether there is a plugin to instrument those one day like we didn't know `ThreadPoolExecutor` would be `instrumented` 5 years after the kernel was written.
   > 
   > Please consider using a simple native Thread and a Loop to make this work.
   
   Yes, I agree with your point. The key is how to remove the dependency on `ThreadPoolExecutor` in the logger component. I appreciate your recognition, and I will consider your implementation suggestions. I plan to submit a pull request in the next few days to address this issue.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org