This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch for Review: JvGetStringUTF and JvTempCString
- From: Mohan Embar <gnustuff at thisiscool dot com>
- To: Andrew Haley <aph at redhat dot com>
- Cc: Bryce McKinlay <bryce at mckinlay dot net dot nz>, tromey at redhat dot com, java-patches at gcc dot gnu dot org
- Date: Tue, 12 Aug 2003 10:43:13 -0500
- Subject: Re: Patch for Review: JvGetStringUTF and JvTempCString
- Reply-to: gnustuff at thisiscool dot com
Hi Andrew,
>It depends on how long the string might be. We don't want Java to
>generate stack overflows. It's a nice featre of Java that stack sizes
>are usually small.
...which would be another argument in favor of encapsulating this
by a class instead of a macro. Do we have any idea what we'd want
the maximum size of any stack-allocated string to be?
-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/