RFR (XS): 8071787: Don't block inlining when DONT_INLINE_THRESHOLD=0
john.r.rose at oracle.com
Thu Jan 29 03:10:34 UTC 2015
Good. Consider fixing the typo in 'makeBlockInlningWrapper'. — John
On Jan 28, 2015, at 9:12 AM, Vladimir Ivanov <vladimir.x.ivanov at oracle.com> wrote:
> For testing & performance measurements, sometimes it's useful to replace block inlining wrappers with trivial reinvokers.
> This change extends DONT_INLINE_THRESHOLD in the following manner:
> DONT_INLINE_THRESHOLD = -1: no wrapper
> DONT_INLINE_THRESHOLD = 0: reinvoker
> DONT_INLINE_THRESHOLD > 0: counting wrapper
> Before that DONT_INLINE_THRESHOLD=0 meant a counting wrapper which is removed on the first invocation. After the change, it's DONT_INLINE_THRESHOLD=1.
> Testing: manual, java/lang/invoke
> Best regards,
> Vladimir Ivanov
More information about the core-libs-dev