JDK-6933324 : Always inline methods, which have only 1 call site
Resolution:Not an Issue
A DESCRIPTION OF THE REQUEST :
Additionally consider default inlining of very small methods with few call sites.
- Reduces memory usage
- Increases performance
- Reduces register pressur in many cases
Always inlining methods which have only 1 call site might not always be faster (code size, register allocation). It might be true for very small methods but for these we have MaxTrivialSize.