This is the mail archive of the java-discuss@sources.redhat.com 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]

Re: alloca and native code


>>>>> "Oskar" == Oskar Liljeblad <osk@hem.passagen.se> writes:

Oskar> Is it ok to use alloca from native code?

Yes.  We use it sometimes in libjava.  Even more frequently we use
variable-sized arrays, since they are less of a hassle -- no need to
test for and conditionally include <alloca.h>.

Tom

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