I think it should be up to the developer to synchronize when necessary. Otherwise you'll end up with lots of overhead for synchronizing puts where there is possibly no need at all.

Just my $.02

Klaus Sonnenleiter

At 05:04 PM 12/18/2001 +0100, you wrote:
Hi All,

        This time with a subject line!.. :-)

        Cheers,

        Marcus

On Tue, Dec 18, 2001 at 05:03:01PM +0100, crafterm wrote:
> Hi All,
>
>       Hope all is well!
>
>       I've just been doing some debugging with our application here in
>       Dresdner Bank, which has led me to have a closer look at the
>       Parameters class. From my analysis the Parameters class is not
>       thread safe.
>
>       (Parameters uses HashMap as it's internal store, and does not
>       synchronize any of its mutator methods).
>
>       I'm just wondering if this is intended (ie. like HashMap in the
>       Collections API - up to the developer to synchronize access) or
>       whether this is should be fixed as it can currently cause grief
>       in Cocoon under load.
>
>       Any thoughts/comments/etc ?
>
>       Cheers,
>
>       Marcus
>
> --
>         .....
>      ,,$$$$$$$$$,      Marcus Crafter
>     ;$'      '$$$$:    Computer Systems Engineer
>     $:         $$$$:   ManageSoft GmbH
>      $       o_)$$$:   82-84 Mainzer Landstrasse
>      ;$,    _/\ &&:'   60327 Frankfurt Germany
>        '     /( &&&
>            \_&&&&'     Email : [EMAIL PROTECTED]
>           &&&&.        Business Hours : +49 69 9757 200
>     &&&&&&&:

--
        .....
     ,,$$$$$$$$$,      Marcus Crafter
    ;$'      '$$$$:    Computer Systems Engineer
    $:         $$$$:   ManageSoft GmbH
     $       o_)$$$:   82-84 Mainzer Landstrasse
     ;$,    _/\ &&:'   60327 Frankfurt Germany
       '     /( &&&
           \_&&&&'     Email : [EMAIL PROTECTED]
          &&&&.        Business Hours : +49 69 9757 200
    &&&&&&&:

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Reply via email to