Well, in V2 there is actually an option to remove the
synchronization at runtime when loading, saving and manipulating documents
_except_ when doing so with generated classes, since those are already
generated. We probably ought to look at this option at compile-time also and not
generate the synchronized blocks...
Thanks,
Radu
From: toadie D [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 09, 2006 9:50 AM
To: [email protected]
Subject: re: synchronization in generated code by xmlbeans
I just updated to the latest V2 release and am still seeing synchronized
codes being generated
e.g. synchronized (monitor())
I am just curious as to how well this performs on the server side
application (granted that a new Instance is always created) but does the effect
of calling 'synchronized' generate a lot of activities in the JVM?
Thanks
_______________________________________________________________________ Notice: This email message, together with any attachments, may contain information of BEA Systems, Inc., its subsidiaries and affiliated entities, that may be confidential, proprietary, copyrighted and/or legally privileged, and is intended solely for the use of the individual or entity named in this message. If you are not the intended recipient, and have received this message in error, please immediately return this by email and then delete it.

