With this set of changes, we can get up to date on erjang / kilim integration. My erjang-buddy eriksoe will also send you a pull request based off current kilim/kilim, so we should be all in sync.
I have not tested performance, but I think its important to get these things in sync so we can share bug fixes going forward. I've also been hunting down a weaving bug having to do with exception handlers inside exception handlers (I think) but have not found it. Reproducing that one is fairly involved.
Make cached stateClasses be a ThreadLocal
In Erjang, we need to run multiple Kilim
"instances" concurrently, so we need this
static state to be thread-local.
Make line numbers work again
Make analysis.ClassWriter use the Detector API
Erjang specific methods inside Kilim
These are some special methods (mostly on Mailbox)
to provide the look-ahead semantics needed for
Erlang's selective receive.