[9] RFR (L): 8057042: LambdaFormEditor: derive new LFs from a base LF
Vitaly Davidovich
vitalyd at gmail.com
Fri Sep 5 21:52:19 UTC 2014
Remi,
Just curious - was that C1 compiler output? I recall Tom Rodriguez
mentioning a while ago (while this same topic was discussed on another
thread) that C2 is more aggressive about inlining, and doesn't have a hard
stop at 35 bytes.
Thanks
Sent from my phone
On Sep 5, 2014 4:39 PM, "Remi Forax" <forax at univ-mlv.fr> wrote:
>
> On 09/05/2014 04:07 PM, Morris Meyer wrote:
>
>> Remi,
>>
>> That assert in a static method could be pulled out to a static block.
>>
>> Regarding the asserts in the LambdaForms code, my feeling is that in code
>> that is still in the process of being refactored, that they are critical to
>> maintain integrity. After the dust settles, creating a debugging subclass
>> used for testing, and moving some of the asserts to unit tests might be
>> helpful for performance.
>>
>> --mm
>>
>
> Hi Morris,
> I fully agree.
>
> Rémi
>
>
>> On 9/5/14, 2:59 AM, Remi Forax wrote:
>>
>>>
>>> On 09/03/2014 07:46 PM, John Rose wrote:
>>>
>>>> On Sep 3, 2014, at 10:35 AM, Mark Roos <mroos at roos.com> wrote:
>>>>
>>>> From Morris
>>>>>
>>>>> All that assert laden code is nice to see.
>>>>>
>>>>> I just finished watching a video from Doug Lea where he mentioned that
>>>>> having asserts can
>>>>> inhibit inlining due to the additional byte codes. So he sadly does
>>>>> not use them due to
>>>>> performance issues.
>>>>>
>>>>> Does anyone have any insights on this?
>>>>>
>>>> Yep.
>>>>
>>>> http://mail.openjdk.java.net/pipermail/core-libs-dev/2014-
>>>> August/028450.html
>>>> https://bugs.openjdk.java.net/browse/JDK-6316156
>>>>
>>>
>>> yes, sadly, it's sometimes a real problem, here is a thread on core-lib
>>> [1] about removing an assert in Integer.valueOf that allow JDart to have
>>> acceptable perf.
>>>
>>>
>>>> — John
>>>>
>>>
>>> Rémi
>>>
>>> [1] http://mail.openjdk.java.net/pipermail/core-libs-dev/2012-
>>> April/010007.html
>>>
>>> _______________________________________________
>>>> mlvm-dev mailing list
>>>> mlvm-dev at openjdk.java.net
>>>> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>>>>
>>>
>>> _______________________________________________
>>> mlvm-dev mailing list
>>> mlvm-dev at openjdk.java.net
>>> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>>>
>>
>> _______________________________________________
>> mlvm-dev mailing list
>> mlvm-dev at openjdk.java.net
>> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>>
>
> _______________________________________________
> mlvm-dev mailing list
> mlvm-dev at openjdk.java.net
> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20140905/d0b2aa3c/attachment-0001.html>
More information about the mlvm-dev
mailing list