Side effect monitoring for Java using bytecode rewriting

Manuel Geffken, Peter J. Thiemann · 2014

A side effect of a method in Java is a read or write operation that the method may perform on an object in the heap. Methods with side effects are more difficult to understand and to reason about than pure methods, in particular in the presence of aliasing. While both, Java and the underlying Java Virtual Machine (JVM), support specifying and checking types statically, neither supports ways of specifying and checking side effects statically or at run time.

Read the paper · More papers on PaperTik