jdaugherty commented on issue #15293:
URL: https://github.com/apache/grails-core/issues/15293#issuecomment-3656514182
To revert the invokedynamic changes (still allowed for Groovy 4), you can
use:
tasks.withType(GroovyCompile).configureEach {
groovyOptions.with {
optimizationOptions.indy = false
}
}
in your `build.gradle`. You're right that it's a significant performance
hit. I've had similar experiences in a large Grails 7 application, disabling
indy was my only choice to restore performance. I have noticed the JVM
upgrades making these performance hits less noticeable.
Similar discussions that may be of benefit:
1. https://lists.apache.org/thread/q257zbtvm0jgnr5gqojfcpphlfpoos94
2. https://lists.apache.org/thread/n9c055nw1mwtnvmlgqsk5jlfov6vgrky
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]