[9] RFR (XS): 8071787: Don't block inlining when DONT_INLINE_THRESHOLD=0
Vladimir Ivanov
vladimir.x.ivanov at oracle.com
Thu Jan 29 18:18:13 UTC 2015
Thanks, John!
Best regards,
Vladimir Ivanov
On 1/29/15 6:10 AM, John Rose wrote:
> 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:
>>
>> http://cr.openjdk.java.net/~vlivanov/8071787/webrev.00/
>> https://bugs.openjdk.java.net/browse/JDK-8071787
>>
>> 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 mlvm-dev
mailing list