Hi,

this looks good.

Testing cold[1] startup on my machine I see an improvement ranging from around 30-40ms on a minimal test to around 60-80ms on a larger app. Warm startup and footprint measures seem largely unaffected, as would be expected.

I also did an experiment with allowing secondary ordering in the plugin so that java.base could be ordered directly after the classlist-ordered resources but impact got lost in the noise, so it doesn't seem worthwhile to complicate things further.

Thanks!

/Claes

[1] simulated by calling echo 3 > /proc/sys/vm/drop_caches between runs

On 2016-05-09 19:41, Jim Laskey (Oracle) wrote:
Modifies the jlink sort-plugin to accept a classlist to order files in the 
jimage.

http://cr.openjdk.java.net/~jlaskey/8155237/webrev/index.html
https://bugs.openjdk.java.net/browse/JDK-8155237


Reply via email to