ThomasKrieger

Results 15 comments of ThomasKrieger

Hi, thank you for your analysis. I will change the interleave task so that it inherits the settings. And check if I can update the maven-surefire-plugin

vmlens uses byte code transformation to enable the tests. The method hasNext gets replaced through this byte code transformation. O.k. some magic but I have not found a better way...

Yes, I would like to integrate JUnit 5 support. I will comment on this issue when I know what I need to do to implement this.

You are right, there should be no data race containing only testA. I will check what goes wrong

I am almost done. Hope I finish this something beginning next wek

This should work now with version 1.2.0 and upwards

Yes vmlens will also work with testng. Note that I am currently refactoring large parts of it so it will probably make sense to wait till I am finished before...

Yes it works now with version 1.2.1. See https://github.com/vmlens/vmlens/blob/master/test-vmlens-testng/src/test/java/com/vmlens/test/maven/plugin/TestVolatileField.java

Du kannst in ClassLoaderForTransformation das feld TRACE_CLASSES auf true setzen dann werden die transformierten klassen geloggt. z.B. für den test ConstructorCallTest,constructorParent wird das folgende erzeugt: public class ConstructorParent { public...

Schau dir MethodEnterExitTransform an. visitCode wenn du da factoryContext.methodEnterExitStrategy().createMethodEnter(mv, methodCallbackFactory, factoryContext.methodId(), factoryContext.className()); lässt kannst du in ClassVisitorApplyMethodVisitor createMethodEnterExitStrategy eine strategy setzen die ohne aload aus kommt und die methode MethodCallback.constructorMethodEnter...