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
When the -H:-ParseRuntimeOptions flag is specified, VMRuntime.initialize() isn't executed, which prevents startup hooks from working. These hooks are necessary for implementing the --install-exit-handlers flag.
Our team is looking into this issue. I'll keep you posted with any new findings.
selhagani
changed the title
Shutdown hooks not called when -H:-ParseRuntimeOptions is set
[GR-34103] Shutdown hooks not called when -H:-ParseRuntimeOptions is set
Aug 27, 2024
Hello!
It appears that
-H:+UnlockExperimentalVMOptions -H:-ParseRuntimeOptions
and--install-exit-handlers
are not compatible with each other.If
-H:-ParseRuntimeOptions
is set during build, the shutdown hooks won't run on sig TERM.Tested with Graalvm CE 22.0.2
reproducer:
The text was updated successfully, but these errors were encountered: