src/hotspot/os/aix/perfMemory_aix.cpp
changeset 55733 9cfb9387a9e8
parent 51106 f605c91e5219
child 58084 cddef3bde924
equal deleted inserted replaced
55732:5f3df8029bfd 55733:9cfb9387a9e8
  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 }