Open dsouzai opened 4 years ago
fyi @mpirvu @fjeremic
I wonder about the value of [3] since typically we want to get to compilation logs. Moreover, the advantage of jitdump is that it can generate a log from the the same JDK that produced the bad jitted body. If the AOT body has been produced in a previous run, we lose that advantage, so a compilation log from a brand new JVM invocation may be just as good.
Regarding 2, should the jitdump redo the AOT compilation, the AOT load, or both?
I think we want to redo the AOT compilation.
^T'was by accident
If a crash happens in an AOT body, the jitdump should generate an AOT compilation. However, this is not as trivial as it might seem, as there are three scenarios:
Regarding 2, should the jitdump redo the AOT compilation, the AOT load, or both? Regarding 3, should the jitdump redo the AOT load?