Implemented SWThread managed memory