At the Java PLT meeting today, we discussed several aspects of my project. Corky agreed that events before and after the slave’s main method can be ignored. He also said that class loading can almost be viewed as an atomic step. It should be acceptable to ignore events that happen inside the class loader, but the static initialization of a class must be observable.
I’ll first try to use a “do not record” flag per thread to ignore events, as discussed previously. Filtering out the events in the master should be possible too. Corky expected that shipping the bytes of the classes to the master using ClassFileLoadHook
on every class load would be too expensive.