Remember JVM state before executing a specific instruction.

Posted by user559064 on Stack Overflow See other posts from Stack Overflow or by user559064
Published on 2011-02-13T06:40:27Z Indexed on 2011/02/13 7:25 UTC
Read the original article Hit count: 109

I am working on a testing project using mutating technique. My project requires to manipulate a Java classfile and re-execute the classfile multiple times for testing. My implementation need to re-execute the whole system again after one manipulation, and that is not efficient. I am wondering whether I can save the JVM state right before executing a desired instruction in the classfile, so that I can start from that state after each manipulation.

Thank you.

© Stack Overflow or respective owner

Related posts about jvm

Related posts about execution