Skip to content

Conversation

@mbovel
Copy link
Member

@mbovel mbovel commented Dec 2, 2025

Just experimenting.
In particular, I’m aware that the current version introduces a significant memory leak 😄

@mbovel
Copy link
Member Author

mbovel commented Dec 3, 2025

This experiment showed that caching file contents indeed greatly improves performance when compiling small files several times within the same JVM run, almost x2 for compilation tests!

What doesn't work yet is that the cache key (absolute path, modified time) doesn't fit files loaded from the JrtClassPath, because these depend on the release.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant