Created
September 8, 2011 09:37
-
-
Save galderz/1203028 to your computer and use it in GitHub Desktop.
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
| # rule skeleton | |
| RULE debug river marshaller | |
| CLASS org.jboss.marshalling.river.RiverMarshaller | |
| METHOD writeObject(Object) | |
| AT ENTRY | |
| IF TRUE | |
| DO debug("Write type=" + $1.getClass().getName()) | |
| ENDRULE | |
| # this rule counts Thread creates | |
| RULE count thread create | |
| CLASS java.lang.Thread | |
| METHOD <init> | |
| AT EXIT | |
| IF TRUE | |
| DO debug("create thread " + $0.getName()) | |
| ENDRULE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment