Skip to content

Conversation

alfonsocv12
Copy link

Internally at google we have a patch for KotlinLibraryLayoutImpl.kt that changes the else value of klibZipAccessor to ZipFileSystemCacheableAccessor with 100 limit, after updating to 2.3.0-dev-7988 we removed the patch since it was no longer required. This resulted in a regression of ~24%.

This doesn't fix all the issues (because theres a lot of different usages of KotlinLibraryLayoutImpl) but it fixes our internal regression.

@alfonsocv12 alfonsocv12 requested a review from a team as a code owner October 13, 2025 22:07
@sbogolepov sbogolepov requested review from ddolovov and removed request for glukianets October 14, 2025 10:51
@ddolovov
Copy link
Contributor

Please write a good commit message according to our rules: https://github.com/JetBrains/kotlin/blob/master/docs/code_authoring_and_core_review.md#commit-messages-and-yt-tickets

The YouTrack ticket number should be specified in the commit message.

@alfonsocv12 alfonsocv12 force-pushed the fix/passCacheableZipAccessor branch from 21c23ae to 91e5239 Compare October 15, 2025 13:15
…to missing sections

While profiling a regression with -Xklib-zip-file-accessor-cache-limit flag set,
createKonanLibary and createKonanLibraryComponnets appear as hot and using
ZipFileSystemInPlaceAccessor (Not cacheable).

KT-81670
@alfonsocv12 alfonsocv12 force-pushed the fix/passCacheableZipAccessor branch from 91e5239 to 2fe04a0 Compare October 15, 2025 13:30
@alfonsocv12
Copy link
Author

Thanks for the documentation, just updated the commit, what do you think now?

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.

2 participants