This is the mail archive of the java-patches@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: Patch for Review: _Jv_TempUTFString + JV_TEMP_UTF_STRING


>>>>> "Bryce" == Bryce McKinlay <bryce@mckinlay.net.nz> writes:

Bryce> I'd still like to see it use JvAllocBytes instead of
Bryce> _Jv_Malloc.

I'm curious to know why.

I used to be against using _Jv_Malloc, but there is plenty of code
that uses it (and some code that relies on it, since the interface to
the GC isn't rich enough to tell it about things other than java
objects).  In a case like this, malloc/free is definitely safe.
Performance probably depends on the case.  So I've come to tolerate
_Jv_Malloc after all :-)


That said, Mohan, please make this change and put it in.  I'm more
interested in getting your patch backlog cleared up...

Tom


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