< prev index next >

src/hotspot/os/solaris/perfMemory_solaris.cpp

Print this page
rev 55608 : 8227435: Perf::attach() should not throw a java.lang.Exception
Reviewed-by:

*** 1053,1063 **** "Could not determine PerfMemory size"); } if ((statbuf.st_size == 0) || ((size_t)statbuf.st_size % os::vm_page_size() != 0)) { ! THROW_MSG_0(vmSymbols::java_lang_Exception(), "Invalid PerfMemory size"); } return (size_t)statbuf.st_size; } --- 1053,1063 ---- "Could not determine PerfMemory size"); } if ((statbuf.st_size == 0) || ((size_t)statbuf.st_size % os::vm_page_size() != 0)) { ! THROW_MSG_0(vmSymbols::java_io_IOException(), "Invalid PerfMemory size"); } return (size_t)statbuf.st_size; }
< prev index next >