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]

alloca and native code


Hello

Is it ok to use alloca from native code? I want to allocate a piece
of memory which isn't scanned or collected by the GC, which is freed
when the (native implementation of the) method returns.

(Maybe this question is redundant, but it never hurts to ask :)

Oskar Liljeblad (osk@hem.passagen.se)

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