Cleanroom icon indicating copy to clipboard operation
Cleanroom copied to clipboard

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

Open Krutoy242 opened this issue 1 year ago • 2 comments

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

Krutoy242 avatar Feb 18 '24 15:02 Krutoy242

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 avatar Feb 24 '24 09:02 Rongmario

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.

Krutoy242 avatar Feb 25 '24 07:02 Krutoy242