Ha! This is apr_file_gets() who does this!

So this is DRLVM specific and duplicates classlib's efforts. We should
get rid of this.

2006/9/23, Ivan Volosyuk <[EMAIL PROTECTED]>:
You are right. It is different property file:
  $JRE/lib/boot/bootclasspath.properties  (6kbyte)

The strace looks like following. Not quite effective.
The number of syscalls is greater then all others at the startup of
VM. I would like to file a performance JIRA for the issue, but I don't
quite understand if it DRLVM specific or classlib?
--
Ivan

read(3, "#", 1)                         = 1
read(3, " ", 1)                         = 1
read(3, "C", 1)                         = 1
read(3, "o", 1)                         = 1
read(3, "p", 1)                         = 1
read(3, "y", 1)                         = 1
read(3, "r", 1)                         = 1
read(3, "i", 1)                         = 1
read(3, "g", 1)                         = 1
read(3, "h", 1)                         = 1
read(3, "t", 1)                         = 1
read(3, " ", 1)                         = 1
read(3, "2", 1)                         = 1
read(3, "0", 1)                         = 1
read(3, "0", 1)                         = 1
read(3, "5", 1)                         = 1
read(3, " ", 1)                         = 1
read(3, "T", 1)                         = 1
read(3, "h", 1)                         = 1
read(3, "e", 1)                         = 1
read(3, " ", 1)                         = 1
read(3, "A", 1)                         = 1

--
Regards,
Ivan

On 9/23/06, Alexey Varlamov <[EMAIL PROTECTED]> wrote:
> I reattached the patch.
>
> Not sure this was the case Ivan talked about - launcher was trying to
> read() the whole file at once - but anyway now file contents is
> mmapped for parsing.
>
> --
> Alexey

---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
Terms of use : http://incubator.apache.org/harmony/mailing.html
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to