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

Rethink compilation delay strategy for lukewarm methods

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P3 P3
    • 26
    • 26
    • hotspot
    • None

      Current compilation delay strategy for lukewarm methods is based on a fixed threshold coefficient. It probably should also be make dependent on the compiler load. However, I now think that the threshold coefficient should also dynamically decrease with the load. Such that when the startup/warmup end (and there is no load on compilers) we should be free to get back to compile lukewarm methods.

      So, the coefficient should rather be something like: scale = (1 + DelayCoefficient * load_average).
      We need to port the load average compilation code from the leyden premain repo.

            iveresov Igor Veresov
            iveresov Igor Veresov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: