equal
deleted
inserted
replaced
1109 "Could not determine PerfMemory size"); |
1109 "Could not determine PerfMemory size"); |
1110 } |
1110 } |
1111 |
1111 |
1112 if ((statbuf.st_size == 0) || |
1112 if ((statbuf.st_size == 0) || |
1113 ((size_t)statbuf.st_size % os::vm_page_size() != 0)) { |
1113 ((size_t)statbuf.st_size % os::vm_page_size() != 0)) { |
1114 THROW_MSG_0(vmSymbols::java_lang_Exception(), |
1114 THROW_MSG_0(vmSymbols::java_io_IOException(), |
1115 "Invalid PerfMemory size"); |
1115 "Invalid PerfMemory size"); |
1116 } |
1116 } |
1117 |
1117 |
1118 return (size_t)statbuf.st_size; |
1118 return (size_t)statbuf.st_size; |
1119 } |
1119 } |