tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kurt Miller <t...@apache.org>
Subject Re: [Fwd: Re: Some benchs results : WAS: Invitation to HTTPD commiters in tomcat-dev]
Date Wed, 28 Jul 2004 20:31:32 GMT
From: "Bill Barker" <wbarker@wilshire.com>
> From: "Filip Hanik - Dev" <devlists@hanik.com>
> > The Java VM does this through file handling, we would have
> > to find out where it issues this call and if we can get around it. The
> > Tomcat developers are not calling stat anywhere in the code, but
> > the underlying JVM code does, we just don't know where
> 
> My guess would be File.getCanonicalPath() in FileDirContext.
> 

I can confirm from the SCSL 1.4 jdk source that File.getCanonicalPath() 
eventually calls realpath(3) in the jdk src. On OpenBSD (and probably all
unixes) realpath(3) causes an lstat on each dir in the path.

-Kurt

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message