Yes, of course 'volatile' not 'transient'.


I somehow merged volatile and transient in my mind.

At 09:50 AM 9/29/2003 -0700, Kevin Klinemeier wrote:
Do you mean 'volatile' here?  I can't find in the JLS where transient
has this affect.  It wouldn't be the first time I've looked for
something in the JLS and not found it, though.

-Kevin

--- Ceki Gülcü <[EMAIL PROTECTED]> wrote:
> Moreover, in addition to serialization aspects, the keyword
> 'transient' has
> other meanings. It forces the JVM to re-reread the value of the
> variable
> from memory for each access, adding unnecessary overhead.

-- Ceki Gülcü

     For log4j documentation consider "The complete log4j manual"
     ISBN: 2970036908 http://www.qos.ch/shop/products/clm_t.jsp

     import org.apache.Facetime;
     ApacheCon US 2003, 18-21 November http://apachecon.com/



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



Reply via email to