Skip to content

Conversation

@jdaugherty
Copy link
Contributor

Fixes #15321

----

5. By default, Groovy 4 switches away from callsite optimizations and uses invokedynamic instead. This can result in performance regressions compared to Grails 6. Groovy 5 will remove the ability to disable invokedynamic, but to disable it for Groovy 4, modify your `build.gradle` to include the following:
* By default, Groovy 4 switches away from callsite optimizations and uses invokedynamic instead. This can result in performance regressions compared to Grails 6. Groovy 5 will remove the ability to disable invokedynamic, but to disable it for Groovy 4, modify your `build.gradle` to include the following:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The other numbers where converted to *, except for 6.

@bito-code-review
Copy link

The diff indicates that numbered list items 1-5 in the upgrading guide were converted to bullet points (*), but no item 6 is visible in the changes. This might be intentional or an oversight if a 6th item exists elsewhere in the file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

Disable invoke dynamic by default

2 participants