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]

Re: Duplicate class registration handling


Tom Tromey wrote:

>>>>>>"Bryce" == Bryce McKinlay <bryce@waitaki.otago.ac.nz> writes:
>>>>>>
>
>Bryce> 	* prims.cc (_Jv_Abort): Always print error message using fprintf,
>Bryce> 	don't try to allocate.
>
>In the past we've avoided using *printf except in debug code.  The
>idea is that on embedded systems, using printf has a big penalty --
>lots of code is dragged in.
>

Yeah, I think its okay if its use is isolated to a few functions that 
can be easily replaced. There are a few other (non-debug) uses of it 
that have crept in as well, ie natSystem.cc and 
natFileDescriptorPosix.cc. Maybe we should try and come up with 
alternatives to use there...

regards

Bryce.



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