src/hotspot/os/windows/perfMemory_windows.cpp
changeset 55733 9cfb9387a9e8
parent 51106 f605c91e5219
child 58083 9046db64ca39
equal deleted inserted replaced
55732:5f3df8029bfd 55733:9cfb9387a9e8
  1559   if ((statbuf.st_size == 0) || (statbuf.st_size % os::vm_page_size() != 0)) {
  1559   if ((statbuf.st_size == 0) || (statbuf.st_size % os::vm_page_size() != 0)) {
  1560     if (PrintMiscellaneous && Verbose) {
  1560     if (PrintMiscellaneous && Verbose) {
  1561       warning("unexpected file size: size = " SIZE_FORMAT "\n",
  1561       warning("unexpected file size: size = " SIZE_FORMAT "\n",
  1562               statbuf.st_size);
  1562               statbuf.st_size);
  1563     }
  1563     }
  1564     THROW_MSG_0(vmSymbols::java_lang_Exception(),
  1564     THROW_MSG_0(vmSymbols::java_io_IOException(),
  1565                 "Invalid PerfMemory size");
  1565                 "Invalid PerfMemory size");
  1566   }
  1566   }
  1567 
  1567 
  1568   return statbuf.st_size;
  1568   return statbuf.st_size;
  1569 }
  1569 }