Time-Warping Memory algorithm in Java along with other known STMs in a selective instrumentation framework