Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8364156

[CRaC] Recompile methods decompiled during or shortly after C/R

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • repo-crac
    • repo-crac
    • hotspot
    • None

      It is expected for apps to temporarily change their otherwise stable state during checkpoint-restore, for example close a previously always-open file descriptor on checkpoint and reopen it after restore. This may trigger deoptimization and decompilation (nmethods becoming not entrant) of code depending on that state. After restore that code will likely undergo the full profiling cycle which may take some time and thus constitute an after-restore warmup.

      We can reduce the length of this warmup by artificially triggering recompilation of methods decompiled during and shortly after C/R. We assume that by the time we trigger recompilation the app's state becomes stable again and is quite similar to the one that existed before the checkpoint.

            tpushkin Timofei Pushkin
            tpushkin Timofei Pushkin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: