The synchronized region I believe only executes if a call is enabled. Since most calls are disabled the impact is quite limited.
The region is synchronized because the configuration can change at runtime (configureAndWatch), and whenever multiple threads work on shared data you basically must synchronize. -----Original Message----- From: Lenin David Lozano Argel [mailto:[EMAIL PROTECTED] Sent: Thursday, December 09, 2004 1:56 PM To: [EMAIL PROTECTED] Subject: Lo4J synchronized Can anyone explain me Why the callAppenders method on the class Category has a synchronized block? What implies that on the application performance? Lenin David Lozano Argel Analista Arquitectura InformÃtica Gerencia de Desarrollo Suramericana S.A. Email: [EMAIL PROTECTED] Tel: (+574)4355596, Medellin - Colombia La informaciÃn adjunta es exclusiva para la persona a la cual se dirige este mensaje, la cual puede contener informaciÃn confidencial y/o material privilegiado. Cualquier revisiÃn, retransmisiÃn, diseminaciÃn o uso del mismo, asà como cualquier acciÃn que se tome respecto a la informaciÃn contenida, por personas o entidades diferente al propÃsito original de las misma, es ilegal. Si usted recibe este mensaje por error, favor notifÃqueme y elimine ese material. Este mensaje y sus anexos han sido sometidos a programas antivirus, por lo cual consideramos se encuentra libre de virus o cualquier anomalÃa que pueda afectar a terceros, sin embargo, el destinatario debe verificar con sus propias protecciones que ellos no estÃn afectados por virus u otros defectos, en cuyo caso, el remitente no asume responsabilidad alguna por el recibo, transmisiÃn y uso de este material. The information transmitted here within is sensitive information intended only for use of the individual or entity to which it is addresses. If the reader of this message is not the intended recipient, you are hereby notified that any review, retransmission, dissemination, distribution, copying or other use of, or taking of any action in reliance upon, this information is strictly prohibited. IF you have received this communication in error, please contact the sender and delete the material from your computer. Viruses: The message and its attachments are considered to be free of any virus or other defect. Nevertheless, we advise the recipient to verify that the material is virus free. Suramericana is not responsible for any loss or damages arising out of the transmission, use or handling of this matrial. ------------------------------------------------------------------------------- This message and any included attachments are from Siemens Medical Solutions USA, Inc. and are intended only for the addressee(s). The information contained herein may include trade secrets or privileged or otherwise confidential information. Unauthorized review, forwarding, printing, copying, distributing, or using such information is strictly prohibited and may be unlawful. If you received this message in error, or have reason to believe you are not authorized to receive it, please promptly delete this message and notify the sender by e-mail with a copy to [EMAIL PROTECTED] Thank you --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
