Review request for JDK-8060724
Marcus Lagergren
marcus.lagergren at oracle.com
Tue Oct 21 06:38:47 UTC 2014
I was wondering if we can get more throughput by using a class installation queue so that that different threads don’t try to smash through the system dictionary at the same time. It will still be slow and block, but at least we know it can be serialized.
On 20 Oct 2014, at 15:57, Hannes Wallnoefer <hannes.wallnoefer at oracle.com> wrote:
> Am 2014-10-20 um 11:25 schrieb Marcus Lagergren:
>> +1.
>>
>> Is it necessary with the ClassInstaller changes as well, if we patch the thread could to be max 4?
>
> It's not strictly necessary, but with higher thread counts you'll still hit parallel class installation limits, resulting in slower execution.
>
> If you have more than 4 cores you can find out what number of threads works best for you by running:
>
> ant -Dtest262-test-sys-prop.test.js.threads=<#ofthreads> test262parallel
>
> Let me know if something higher than 4 works better.
>
> Hannes
>
>> Regards
>> Marcus
>>
>>
>> On 20 Oct 2014, at 12:33, Hannes Wallnoefer <hannes.wallnoefer at oracle.com> wrote:
>>
>>> Please review JDK-8060724: ant test262parallel in Nashorn spends a significant amount of time after almost all the tests are run:
>>>
>>> http://cr.openjdk.java.net/~hannesw/8060724/
>>>
>>> This should speed up ant test262parallel significantly. On my computer it goes from 25 minutes down to 14 minutes.
>>>
>>> Thanks,
>>> Hannes
>
More information about the nashorn-dev
mailing list