RFR(XS): 8008255: jvmtiExport.cpp::post_to_env() does not check malloc() return
Rickard Bäckman
rickard.backman at oracle.com
Wed May 8 05:52:51 PDT 2013
Thank you David
/R
On May 8, 2013, at 2:44 PM, David Holmes wrote:
> Looks fine to me. As we discussed in the bug report there's no reasonable way to report the error so an abort is the only way out.
>
> David
>
> On 8/05/2013 9:08 PM, Rickard Bäckman wrote:
>> Hi,
>>
>> please review this small change.
>> The change adds a check to see the result of a malloc() and aborts the VM with an out of memory error.
>>
>> Webrev: http://cr.openjdk.java.net/~rbackman/8008255/
>> Bug: http://bugs.sun.com/view_bug.do?bug_id=8008255
>>
>> Thanks
>> /R
>>
More information about the serviceability-dev
mailing list