add stm object support. (STM : Software transactional memory)