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

Extend -XX:CompileCommand to include an option that always compiles the specified method

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:

      Description

      The -XX:CompileCommand should be extended to support an option that forces the VM to always compile the specified method on first encounter. In contrast to -Xcomp in combination with -XX:CompileOnly this does not _only_ compile the method but compiles other methods as well.

      CompilationPolicy::must_be_compiled(..) is probably a good entry point to figure out how to implement it.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zmajo Zoltan Majo (Inactive)
                Reporter:
                thartmann Tobias Hartmann
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: