[type:fix] hiden logic bug
* Update SignUtils.java
optimize stream codes
* [fixbug] hiden logic bug
read more zhang's code, the more thing to learn.
@@ -151,7 +151,7 @@ public class MemoryLimiter {
return false;
}
memory.add(objectSize);
- if (sum < memoryLimit) {
+ if (memory.sum() < memoryLimit) {
notLimited.signal();
}
} finally {
