-
Type:
Enhancement
-
Resolution: Duplicate
-
Priority:
P4
-
Affects Version/s: None
-
Component/s: hotspot
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.
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.
- duplicates
-
JDK-8313713 Allow CompileCommand flag to specify compilation level
-
- Open
-