Skip to content

Cache signatures so that multiple runs of the mojo can reuse loaded signatures#165

Merged
olamy merged 1 commit into
mojohaus:masterfrom
gnodet:cache-signatures
Jun 11, 2021
Merged

Cache signatures so that multiple runs of the mojo can reuse loaded signatures#165
olamy merged 1 commit into
mojohaus:masterfrom
gnodet:cache-signatures

Conversation

@gnodet

@gnodet gnodet commented Jun 9, 2021

Copy link
Copy Markdown
Contributor

Loading JDK signatures can take more than half a second, so when the build contains lots of modules, it can save a lot of time

…ignatures

Loading JDK signatures can take more than half a second, so when the build contains lots of modules, it can save a lot of time
@gnodet

gnodet commented Jun 9, 2021

Copy link
Copy Markdown
Contributor Author

This is interesting mainly in the context of mvnd where the mojo class loaders are reused. In a traditional maven build, the class loaders are deleted after each mojo run, so there would be no benefit.
@hboutemy @olamy

@olamy olamy merged commit f8df3fe into mojohaus:master Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants