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: _Jv_AllocBytesChecked?


On Saturday, December 22, 2001, at 10:14  PM, Adam Megacz wrote:

> I'm running into some references to _JvAllocBytesChecked in the
> winsock code... what's the difference between it and _Jv_AllocBytes?
>
> _JvAllocBytesChecked also doesn't seem to currently be implemented in
> gcj...

AllocBytesChecked was a wrapper for AllocBytes which could throw an 
OutOfMemoryException. Now, the collector will throw automatically on the 
out-of-memory condition so it is not necessary. So, it is safe to 
replace any remaining references to _Jv_AllocBytesChecked with 
_Jv_AllocBytes.

regards

Bryce.



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