[icedtea-web-1.4] running sevrial plugins in parallel

Efrat Lefeber ELefeber at trustwave.com
Sun Feb 23 04:56:16 PST 2014


I see there are all kind of FileLocks in the java side to synchronize between processes. For example in net/sourceforge/jnlp/util/lockingfile/LockedFile.java.
Do you know why there is a need to synchronize between processes?

-----Original Message-----
From: Jiri Vanek [mailto:jvanek at redhat.com]
Sent: Tuesday, February 18, 2014 10:36 AM
To: Efrat Lefeber; distro-pkg-dev at openjdk.java.net
Subject: Re: [icedtea-web-1.4] running sevrial plugins in parallel

On 02/18/2014 09:28 AM, Efrat Lefeber wrote:
> If you have several browsers running, each browser loads a different plugin instance which loads a different jvm instance.

Ah, yes. Sorry I did not realize, but it is obvious. I would probably call it a bug:)

TBH, this state was never examined nor profiled. Sorry:( but well it is not common :) )

I will look onto it, but it will take time. Just for curiosity - what is an usecase?

the workaround like "run just single browser" is probably unsuitable :)

Sorry, funny morning here:)
   As I told, I will try to look whats hidden in this usecase.
    J.
>
> -----Original Message-----
> From: Jiri Vanek [mailto:jvanek at redhat.com]
> Sent: Tuesday, February 18, 2014 9:35 AM
> To: Efrat Lefeber; distro-pkg-dev at openjdk.java.net
> Subject: Re: [icedtea-web-1.4] running sevrial plugins in parallel
>
> On 02/17/2014 11:05 AM, Efrat Lefeber wrote:
>> I am running several plugin processes in parallel (each runs its own jvm). No more than 5-6 in parallel.
>
> Hi!
>
> How have you manged it? All applets are supposed to run in single JVM.
>>
>> What I see a degradation in performance when there are more plugin processes running.
>>
>> Is there some kind of a lock between processes that could implement on the performance?
>>
>> Or any other idea why the performance gets worse when more plugin processes run in parallel?
>>
>>
>
> Regards,
>      J.
>
>
> ________________________________
>
> This transmission may contain information that is privileged, confidential, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is strictly prohibited. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format.
>



________________________________

This transmission may contain information that is privileged, confidential, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is strictly prohibited. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format.



More information about the distro-pkg-dev mailing list