Skip to content

Commit

Permalink
Improved pooling of buffers when a buffer was released in other thread.
Browse files Browse the repository at this point in the history
Motivation:

When buffer was released in other thread, this buffer couldn't be released. I think that need to release a buffer in other thread for memory effectiveness.

Modifications:

Implement WeakOrderQueue for releasing a buffer that other thread owned.

Result:

When buffer was released in othread thread, owned thread can use this buffer.
  • Loading branch information
hide1202 committed Feb 21, 2016
1 parent 0a9b964 commit 5b1139e
Show file tree
Hide file tree
Showing 3 changed files with 525 additions and 14 deletions.
Loading

0 comments on commit 5b1139e

Please sign in to comment.