This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch for Review: JvGetStringUTF and JvTempCString


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/





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]