456956 Reduce ThreadLocal.remove() weak reference garbage
This commit is contained in:
parent
2b530939a7
commit
3fed24127f
|
@ -505,9 +505,7 @@ public class GzipFilter extends UserAgentFilter
|
|||
if (_allocatedBuffer==null)
|
||||
_allocatedBuffer = new byte[_bufferSize];
|
||||
else
|
||||
{
|
||||
_buffer.remove();
|
||||
}
|
||||
_buffer.set(null);
|
||||
|
||||
switch (compressionType)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue