Update rbtree and heap
Update swLog
Update shutdown logic