Package org.apache.dubbo.common.threadpool
package org.apache.dubbo.common.threadpool
-
ClassDescription
Runtime.freeMemory()technology is used to calculate the memory limit by using the percentage of the current maximum available memory, which can be used withMemoryLimiter.Can completely solve the OOM problem caused byLinkedBlockingQueue.memory limiter.Can completely solve the OOM problem caused byLinkedBlockingQueue, does not depend onInstrumentationand is easier to use thanMemoryLimitedLinkedBlockingQueue.The most important difference between this Executor and other normal Executor is that this one doesn't manage any thread.ThreadPool