Patch: FYI: natFile -vs- stack
Bryce McKinlay
bryce@waitaki.otago.ac.nz
Thu Feb 7 17:12:00 GMT 2002
Tom Tromey wrote:
>I'm checking this in.
>
>This changes natFile.cc so that it doesn't stack allocate any buffers,
>and so that the buffers it allocates are the right size. It also
>removes a global which I think isn't really needed.
>
I think its very unfortunate (for performance) to be allocating on every
stat() call etc. Is there no other way to fix this? How about
__builtin_alloca() ?
regards
Bryce.
More information about the Java-patches
mailing list