This is the mail archive of the java@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: Bug in JNI RegisterNatives?


>>>>> "Juerg" == Juerg Lehni <juerg@scratchdisk.com> writes:

Juerg> Shouldn't savehash be freed at the end of nathash_find?
Juerg> 	// free old table after rehash
Juerg> 	_Jv_Free (savehash);
Juerg> I had this in my original patch.

Nope, _Jv_AllocBytes allocates using the GC.

Tom


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