t stays in its own memory space (I
mean, it uses objects or values that no other thread is modifying), the
performance benefits can be enormous.
Only when communicating other thread, you have to use the synchronized
keyword to insert barriers for these optimizations...
Luc Vanlerberghe
"Klem
other.
AFAIK the only mechanism the Java language provides to ensure this is
the use of synchronized blocks.
Luc Vanlerberghe
"Klemme, Robert, myview" wrote:
>
> thank you paul to point me at an omission.
>
> > -Original Message-
> > From: Paul Speed [mai
n.com/javaone/javaone00/replay.html)
http://jsp.java.sun.com/javaone/javaone2000/event.jsp?eventId=754
Luc Vanlerberghe
Ethan Wallwork wrote:
>
> "When the thread exits the synchonized block, it is required to commit all its
> changes to main memory"
>
> Does this mean that t
ns I raised in my earlier post is why this
initialisation code isn't moved to the init() method of the generated
servlet? This moves the responsability for executing the initialization
exactly once to the container where IMHO it belongs...
Luc Vanlerberghe
[EMAIL PROTECTED] wrote:
Oops, apparently I tend to misread do {} while's as the pascal
repeat...until statement (not the first time...). I thought the loop
was skipping until the next CR/LF.
Please ignore my earlier mail...
Luc
"Vanlerberghe, Luc" wrote:
>
> I noticed the possibility fo
) it suggest both be replaced
by
private Object threadSync = new Object();
Luc Vanlerberghe
Index: HttpConnector.java
===
RCS file:
/home/cvspublic/jakarta-tomcat-4.0/catalina/src/share/org/apache/catalina/connector/http/HttpConnect
.xml file, determine what
files are actually dynamic content and move these to a separate
directory on the same level as webapps/
However, in a first phase, only the WEB-INF and the META-INF directory
could be moved.
Just firing some ideas...
Luc Vanlerberghe
"Craig R. McClanahan"