public byte[] getBuffer(int size) {
    byte[] value = com.intellij.reference.SoftReference.dereference(myThreadLocal.get());
    if (value == null || value.length <= size) {
      value = ArrayUtil.newByteArray(size);
      myThreadLocal.set(new SoftReference<>(value));
    }

    return value;
  }
public byte[] getBuffer(int size)