< prev index next >

src/os/bsd/vm/perfMemory_bsd.cpp

Print this page
rev 11747 : 8162869: Small fixes for AIX perf memory and attach listener

*** 879,896 **** int result; RESTARTABLE(::open(filename, oflags), result); if (result == OS_ERR) { if (errno == ENOENT) { THROW_MSG_(vmSymbols::java_lang_IllegalArgumentException(), ! "Process not found", OS_ERR); } else if (errno == EACCES) { THROW_MSG_(vmSymbols::java_lang_IllegalArgumentException(), ! "Permission denied", OS_ERR); } else { ! THROW_MSG_(vmSymbols::java_io_IOException(), os::strerror(errno), OS_ERR); } } int fd = result; // check to see if the file is secure --- 879,897 ---- int result; RESTARTABLE(::open(filename, oflags), result); if (result == OS_ERR) { if (errno == ENOENT) { THROW_MSG_(vmSymbols::java_lang_IllegalArgumentException(), ! "Process not found", OS_ERR); } else if (errno == EACCES) { THROW_MSG_(vmSymbols::java_lang_IllegalArgumentException(), ! "Permission denied", OS_ERR); } else { ! THROW_MSG_(vmSymbols::java_io_IOException(), ! os::strerror(errno), OS_ERR); } } int fd = result; // check to see if the file is secure
*** 904,914 **** // create a named shared memory region. returns the address of the // memory region on success or NULL on failure. A return value of // NULL will ultimately disable the shared memory feature. // ! // On Solaris and Bsd, the name space for shared memory objects // is the file system name space. // // A monitoring application attaching to a JVM does not need to know // the file system name of the shared memory object. However, it may // be convenient for applications to discover the existence of newly --- 905,915 ---- // create a named shared memory region. returns the address of the // memory region on success or NULL on failure. A return value of // NULL will ultimately disable the shared memory feature. // ! // On BSD, the name space for shared memory objects // is the file system name space. // // A monitoring application attaching to a JVM does not need to know // the file system name of the shared memory object. However, it may // be convenient for applications to discover the existence of newly
< prev index next >