Results 3 issues of nathan.z

Describe what this PR does / why we need it Every second Sentinel will aggregate metrics of every resource and write to the metric log, but when aggregating the metric...

kind/enhancement
to-review
area/performance

## Issue Description Type: *feature request* ### Describe what happened (or what feature you want) 客户端集成到服务以后,通过对比接入前与接入后的监控信息发现,接入sentinel后内存占用明显升高。 平均内存占用增加350MB,峰值内存占用增加900多兆,并且主要集中在老年代。 通过分析jvm dump文件,占用内存较大的几个对象是:com.alibaba.csp.sentinel.node.metric.MetricNode、java.util.concurrent.atomic.LongAdder、com.alibaba.csp.sentinel.slots.statistic.base.WindowWrap等。 ### Describe what you expected to happen 作为一个微服务,这些内存占用有些难以让人接受,希望能尽量减少内存的占用。 ### How to...

area/performance

## 背景 1.1.8-beta版本下 ## 问题描述 在使用ScheduledDtpExecutor时,指定了taskWrapperNames: [ "custom" ]。无论执行ScheduledDtpExecutor的哪个方法都不会执行指定的TaskWrapper。 经过Debug发现,调用路径ScheduledDtpExecutor#execute(Runnable command) --> ScheduledDtpExecutor#schedule(Runnable command, long delay, TimeUnit unit) --> ScheduledThreadPoolExecutor#schedule(Runnable command, long delay, TimeUnit unit) 。 虽然在ScheduledThreadPoolExecutorProxy实现了execute ScheduledThreadPoolExecutorProxy ``` @Override...

question