Currently the compiler is always announcing MethodModified when we compile a method that already has a version in the image.
But I think we can benefit to split this into two announcements:
- MethodModified when the source code changed
- MethodRecompiled when the source code did not change but we still recompile to update the bytecode (fixing undeclared, updating slot indexes...)
With this, we could make sure tools such as Iceberg, Epicea, Calypso... update only when the method is modified and not recompiled
Currently the compiler is always announcing MethodModified when we compile a method that already has a version in the image.
But I think we can benefit to split this into two announcements:
With this, we could make sure tools such as Iceberg, Epicea, Calypso... update only when the method is modified and not recompiled