-
Notifications
You must be signed in to change notification settings - Fork 729
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hang when compilation fails after certain types of invalidation #20750
Comments
Issue Number: 20750 |
I remember that for failed sync compilations due to PREX we do not touch the |
Looking at the code, on failure we call
and |
This was very recently changed in #20387; |
Issue Number: 20750 |
It is possible for a hang to occur when a compilation consistently fails after a method is invalidated in specific circumstances. This does not apply to invalidation due to HCR. At present there are two situations when this can occur:
-Xnojit -Xnoaot
is specified post-restore; this is especially noticeable under-XX:+DebugOnRestore
(see cmdLineTester_criu_jitPostRestore Test -Xnojit -Xnoaot hang #20663).The sequence of events is as follows:
-Xnojit -Xnoaot
post-restore), resulting in the startPC of the recompiled foo getting patched to trigger a sync recompilationJ9Method
of foo gets reset to 0x1 (J9_STARTPC_NOT_TRANSLATED
)J9_JIT_NEVER_TRANSLATE
)j9jit_testarossa_err
, because compilation happens asynchronously and becauselinkageInfo->isBeingCompiled()
returns true; this flag never gets reset even after the recompilation succeeds in step 2.The text was updated successfully, but these errors were encountered: