Hybrid STM/HTM for Nested Transactions on OpenJDK aims to accelerate STM using HTM where possible. It presents a hybrid transactional memory system using both STM and HTM that supports flat and nested transactions. The key aspects are:
1) It introduces a hybrid transaction protocol that allows STM and HTM transactions to co-exist and detect conflicts.
2) It modifies OpenJDK to add native HTM support via Intel TSX and makes modifications to HotSpot's compilers to integrate HTM.
3) Microbenchmarks show the hybrid system achieves much higher throughput than pure STM, especially for open nested transactions where HTM avoids most STM overhead. Throughput