This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [RFA/JVMTI] Implement GetLocalVariableTable and GetMaxLocals
>>>>> "Keith" == Keith Seitz <keiths@redhat.com> writes:
Keith> Of course, your original concern about the use of _Jv_AllocBytes is
Keith> still warranted: It should be using _Jv_MallocUnchecked, just like
Keith> _Jv_JVMTI_Allocate.
Yeah. Or perhaps the internal interface should just return the
pointer, and we should copy them using _Jv_MallocUnchecked in the
jvmti layer. This makes explicit who is responsible for the
allocation and freeing.
Keith> I was simply responding to your original question about how the memory
Keith> gets released. I apologize for any confusion.
No confusion here. Thanks for looking this up.
Tom