Lilliput impact on startup time

Georgios Andrianakis gandrian at redhat.com
Mon Nov 25 14:22:01 UTC 2024


Hi folks,

I just tried the Lilliput (JEP 450) using the latest OpenJDK 24 EA build
<https://jdk.java.net/24/> on a sample Quarkus application
<https://github.com/quarkusio/quarkus-quickstarts/tree/main/rest-client-quickstart>to
see how beneficial Lilliput can be for us.

On my machine (a Ryzen 5950X running Linux) with Lilliput disabled, the
application starts up in around 600ms and consumes around 140MB of RSS
memory (before the application handles any traffic).
With Lilliput enabled (via  -XX:+UnlockExperimentalVMOptions
-XX:+UseCompactObjectHeaders) I see RSS falling to around 130MB which is
really nice!
However I also see a startup regression of around 30ms (approximately 5%).
Is this something that is expected?

Thanks!

P.S. Apologies if this is not the correct mailing list for Lilliput related
topics

-- 

Georgios Andrianakis

Independent Contractor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/hotspot-dev/attachments/20241125/9f2f9196/attachment.htm>


More information about the hotspot-dev mailing list