Skip to content

Commit

Permalink
ThreadPoolExecutor适配优化 alibaba#69
Browse files Browse the repository at this point in the history
submit在父类java.util.concurrent.AbstractExecutorService中,需要优化,增加对父类拦截
  • Loading branch information
daviyang35 committed Nov 23, 2021
1 parent c501719 commit a4dfe88
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public synchronized void watch(RepeaterConfig config) {
new EventWatchBuilder(watcher)
.onClass("java.util.concurrent.ThreadPoolExecutor").includeBootstrap()
.onBehavior("execute")
.onClass("java.util.concurrent.AbstractExecutorService").includeBootstrap()
.onBehavior("submit")
.onClass("java.util.concurrent.ScheduledThreadPoolExecutor").includeBootstrap()
.onBehavior("execute")
Expand Down

0 comments on commit a4dfe88

Please sign in to comment.