In init_system_properties_values() NEW_C_HEAP_ARRAY is defined to malloc. After calls to this macro, the result was checked for NULL. Actually, NEW_C_HEAP_ARRAY exit the vm if it can not allocate memory. Remove the misleading malloc macro and remove unnecessary checks for null in os_linux.cpp and os_aix.cpp.
|