Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open Computers took suspiciously long to load jdk.internal.loader.NativeLibraries.load() #62

Open
Krutoy242 opened this issue Feb 18, 2024 · 2 comments
Labels
bug Something isn't working question Further information is requested

Comments

@Krutoy242
Copy link

This method took 20 seconds to load. Its really a lot considering i load modpack in 6 minutes.
It was never this long on Java 8, only on Java 21. On Java 8 it took about 5 seconds.

image

https://spark.lucko.me/IUXt4qcv0A

debug.log

@Rongmario
Copy link
Member

Cannot be replicated with Cleanroom + OpenComputers on Linux. Will have to try on Windows + potentially investigate if the modpack has something to do with it.

@Rongmario Rongmario added bug Something isn't working question Further information is requested labels Feb 24, 2024
@Krutoy242
Copy link
Author

Krutoy242 commented Feb 25, 2024

Replicated on censoredasm5+OpenComputers+spark:

image

https://spark.lucko.me/23qxX4PO3t

Update:
I noticed that if im using Bansoukou to remove Lua5.2 and 5.4 libraries, game loads 40 seconds faster. Seems like each .dll file took 20 seconds each.

image

On non-Cleanroom loader, this commit saved me 5-10 seconds only. There its definitely ~40 seconds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants