You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quarkus currently sets up its own signal handlers, while GraalVM provides a flag (--install-exit-handlers to set up exit handling through java.lang.Terminator.
In GraalVM for JDK 25 --install-exit-handlers is planned to be enabled by default so I believe it's a good time to explore that option in Quarkus and see if it covers our needs (hopefully without introducing any significant overheads).
Implementation ideas
Set --install-exit-handlers in GraalVM for JDK <25 while removing the custom signal handlers and compare startup time and binary size impact on some benchmarks.
If the differences are acceptable, drop custom exit handlers (assuming they are not offering more info than the GraalVM ones) and use java.lang.Terminator.