New Hardware Support for Transactional Memory and Parallel Debugging in Multicore Processors