jio_snprintf(buffer,bufferSize,"%s/core or core.%d (may not exist)",cwd,current_process_id());
success=true;
}else{
switch(rlim.rlim_cur){
caseRLIM_INFINITY:
jio_snprintf(buffer,bufferSize,"%s/core or core.%d",cwd,current_process_id());
success=true;
break;
case0:
jio_snprintf(buffer,bufferSize,"Core dumps have been disabled. To enable core dumping, try \"ulimit -c unlimited\" before starting Java again");
success=false;
break;
default:
jio_snprintf(buffer,bufferSize,"%s/core or core.%d (max size %lu kB). To ensure a full core dump, try \"ulimit -c unlimited\" before starting Java again",cwd,current_process_id(),(unsignedlong)(rlim.rlim_cur>>10));