Created
June 7, 2013 04:39
-
-
Save aeisenberg/5727103 to your computer and use it in GitHub Desktop.
Where's the memory leak?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ClosureWriter { | |
protected interface UseExistingReference {} | |
public void writeClosure(ClosureExpression expression) { | |
// create some byte-code | |
// ... | |
expression.setNodeMetaData(ClosureWriter.UseExistingReference.class,Boolean.TRUE); | |
// do some more byte-code writing | |
// ... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment