Releases: Jacksgong/ThreadDebugger
Releases · Jacksgong/ThreadDebugger
v1.6.3
v1.5.3
v1.5.2
New Interfaces
- Add
ThreadDebugger#ignoreUnknownCategory
: Only print thread info which you explicitly add throughThreadDebugger#add
for methodThreadDebugger#drawUpEachThreadInfo
,ThreadDebugger#drawUpEachThreadInfo
,ThreadDebugger#drawUpEachThreadSizeDiff
,ThreadDebugger#drawUpEachThreadInfoDiff
,ThreadDebugger#isChanged
,ThreadDebugger#isSizeChanged
.
Fixes
- Fix: fix delete split on the wrong opportunity.
- Fix: fix can't match start-with-thread-name exactly.
v1.5.0
v1.4.0
New Interfaces
- Add
ThreadPools#newNoCorePool
: If there arethreadCount
tasks are running, the further task will be enqueued to the waiting queue, and will be executed when the size of running tasks less thanthreadCount
. If the thread in this pool is turn to idle and the interval time of waiting for new tasks morekeepAliveTime
, it will be terminate to reduce the cost of resources.
Enhancement
- Improve Stability: If
corePoolSize
is equal to0
whenThreadPools.newExceedWaitPool
is called, then we will createNoCorePool
instead ofExceedWaitPool
to avoid the small probability ofStackOverflow
becausegetActiveCount()
may return0
whencorePoolSize
is0
inExceedWaitPool
and performs a large number of tasks at high frequencies, but the actual running thread The number is greater than0
. Ref #1.
v1.3.3
New Interfaces
- Add
ExceedWait.java
: Expose components of theexceed-wait-pool
to make it more flexible to extend.
Enhancement
- Improve Practicability: Downgrade the min SDK version of the thread-pool library: 9->7.
Fixes
- Fix(thread-pool): Cover the case of only the
exceed-queue
has commands need to execute with the main queue is waiting for a command or there is no active command in theexceed-wait-pool
. - Fix(thread-pool): For
exceed-wait-pool
, Mistake still to wait for a command in the main queue when there are commands in theexceed-queue
need to execute. - Fix: The construct method of
ExceedWait.Queue
ispackage visible
, result in can't create it directly.