Hi guys,
I've been running coastal using the startup script in build/install/coastal/bin and I noticed that is much slower (>10x) than when executed via IDE (I'm using intellij).
Assertions -ea are disabled, the only difference that I've been able to identify is the classpath passed to java, and in fact if I modify the startup script and use the same classpath generated by intellij, it seems to work at normal speed.
Upon further investigation (sampling the execution using VisualVM), it appears that coastal is spending an extremely large amount of time in the method za.ac.sun.cs.coastal.instrument.InstrumentationClassManager.loadFromJar().
I reproduced the issue in a clean docker container, so it should not be related to the specific configuration of my machine.
Any idea or suggestion?
Hi guys,
I've been running coastal using the startup script in build/install/coastal/bin and I noticed that is much slower (>10x) than when executed via IDE (I'm using intellij).
Assertions
-eaare disabled, the only difference that I've been able to identify is the classpath passed tojava, and in fact if I modify the startup script and use the same classpath generated by intellij, it seems to work at normal speed.Upon further investigation (sampling the execution using VisualVM), it appears that coastal is spending an extremely large amount of time in the method
za.ac.sun.cs.coastal.instrument.InstrumentationClassManager.loadFromJar().I reproduced the issue in a clean docker container, so it should not be related to the specific configuration of my machine.
Any idea or suggestion?