RFR(XS): 8008255: jvmtiExport.cpp::post_to_env() does not check malloc() return

David Holmes david.holmes at oracle.com
Wed May 8 05:44:15 PDT 2013


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 hotspot-runtime-dev mailing list