equal
deleted
inserted
replaced
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 } |