-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 16
-
Component/s: hotspot
-
b21
Especially during development and testing we use -XX:+PrintCompilation to make sure a specific method gets compiled. However, -XX:+PrintCompilation is a global flag which prints all the compilations which can be quite verbose.
It would be therefore desirable to be able to use PrintCompilation on a per method level (e.g. -XX:CompileCommand="option,Inlining::foo,PrintCompilation"). This could be implemented in a way similar to PrintInlining.
As part of this change, the per-method version of PrintInlining should be changed to automatically enable the per-method version of PrintCompilation.
It would be therefore desirable to be able to use PrintCompilation on a per method level (e.g. -XX:CompileCommand="option,Inlining::foo,PrintCompilation"). This could be implemented in a way similar to PrintInlining.
As part of this change, the per-method version of PrintInlining should be changed to automatically enable the per-method version of PrintCompilation.
- relates to
-
JDK-8296022 [IR Framework] Use new PrintCompilation compiler directive to reduce the test VM output
-
- Open
-
-
JDK-8241495 Make more compiler related flags available on a per method level
-
- Resolved
-