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

Compiler thread creation should be bounded by available space in memory and Code Cache

XMLWordPrintable

    • b18

        Since JDK-8198756, compiler threads are created/removed at runtime depending on the compile queue length.
        They were supposed to be limited by the available memory, too, but there's a bug in the limiting function (missing braces).

        We should also make this dependent on the available space in the code cache because it does not make sense to add more compiler threads if there is almost no space for compiled code and scratch buffers left (JDK-8177899).

              mdoerr Martin Doerr
              thartmann Tobias Hartmann
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: