Request for review(XL): 6958292 C1: Enable parallel compilation

Vladimir Kozlov vladimir.kozlov at oracle.com
Thu Jun 3 18:18:22 PDT 2010


Igor Veresov wrote:
> On 6/3/10 6:07 PM, Igor Veresov wrote:
>> On 6/3/10 5:18 PM, Vladimir Kozlov wrote:
>>> For example, I see in IR::IR() you can use new(compilation->arena())
>>> IRScope(.
>>
>> Good point. I'll do that. Thanks!
> 
> On the other hand since there isn't really much performance difference, 
> I'm not sure it's worth it. In fact we didn't see any measurable 
> difference between the tls variable access and global variable access. 
> So, provided that new is inlined there shouldn't be much of difference 
> is you pass the area or get it from tls.

OK.

Vladimir

> 
> igor
> 
>>
>> igor
>>
>>
>>>
>>> Vladimir
>>>
>>> Tom Rodriguez wrote:
>>>> Just to summarize the changes:
>>>>
>>>> Refactor the initialization steps into global setup to allocate some
>>>> persistent pieces, and per compilation setup.
>>>>
>>>> Move state out of static fields into per thread structures.
>>>>
>>>> Convert visitor patterns that used functions to use closures.
>>>>
>>>> Remove the machinery that allowed the appearance of multithreading in
>>>> the tiered world when it wasn't really supported.
>>>>
>>>> tom
>>>>
>>>> On Jun 3, 2010, at 11:45 AM, Igor Veresov wrote:
>>>>
>>>>> I'd like to push this Tom's implementation of parallel compilation in
>>>>> C1.
>>>>>
>>>>> Webrev: http://cr.openjdk.java.net/~iveresov/6958292/webrev/
>>>>>
>>>>> Thanks,
>>>>> igor
>>>>
>>
> 


More information about the hotspot-compiler-dev mailing list