logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject Re: Questions on initial log4j instance
Date Mon, 29 Sep 2003 16:58:52 GMT

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ü <ceki@qos.ch> 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: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org


Mime
View raw message