hg: hsx/hotspot-rt/hotspot: 8022683: JNI GetStringUTFChars should return NULL on allocation failure not abort the VM
mikael.gerdin at oracle.com
mikael.gerdin at oracle.com
Mon Aug 26 06:52:50 PDT 2013
Changeset: faf2631b9334
Author: dsimms
Date: 2013-08-26 09:33 +0200
URL: http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/faf2631b9334
8022683: JNI GetStringUTFChars should return NULL on allocation failure not abort the VM
Summary: Return NULL on OOM from GetStringChars, GetStringUTFChars and Get<PrimitiveType>ArrayElements family of functions.
Reviewed-by: dholmes, coleenp
! src/share/vm/memory/allocation.hpp
! src/share/vm/prims/jni.cpp
More information about the hotspot-runtime-dev
mailing list