fine tune for queue.
use hash map will fresh faster and useless memory.

Signed-off-by: qijiang.guo <qijiang.guo@gmail.com>