Since the fileStream::fileSize() method returns a long and a long is only 32 bit on Windows, the return value for files bigger than 2 GB is wrong.
This method is currently only used in the heap dump code. It shows as a "Dump file is incomplete: Merged heap dump is incomplete" error message when dumping the heap and segments > 2 GB are created on Windows.
This method is currently only used in the heap dump code. It shows as a "Dump file is incomplete: Merged heap dump is incomplete" error message when dumping the heap and segments > 2 GB are created on Windows.
- links to
-
Review(master)
openjdk/jdk/29952