This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: _Jv_AllocBytesChecked?
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: Adam Megacz <gcj at lists dot megacz dot com>
- Cc: java at gcc dot gnu dot org
- Date: Sun, 23 Dec 2001 11:43:19 +1300
- Subject: 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.