Sun Studio 12: C++ User's Guide

Warnings

If you force the inlining of a function with -xinline, you might actually diminish performance.