This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
alloca and native code
- To: java-discuss at sourceware dot cygnus dot com
- Subject: alloca and native code
- From: Oskar Liljeblad <osk at hem dot passagen dot se>
- Date: Tue, 12 Sep 2000 12:31:32 +0200
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)