Add an ExcludeTier Compile Command

XMLWordPrintable

      Currently, when we want to exclude a method from compilation at a specific tier, we have to use WhiteBox.makeMethodNotCompilable(). On the command line, we can merely use -XX:TieredStopAtLevel.

      To be able to do the same quickly diagnose things on the commandline, I propose the addition of a compile command to exclude a method from compilation at a specific tier.
      For example, -XX:CompileCommand=ExcludeTier,Test.test*,2 would exclude all methods starting with "test" in class Test from compilation at tier 2.

      I imagine that this will come in handy for tricky bugs that are highly profile dependent.

            Assignee:
            Unassigned
            Reporter:
            Manuel Hässig
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: