fileStream::fileSize() fails for >2GB files on Windows

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • 27
    • Affects Version/s: 27
    • Component/s: hotspot
    • svc
    • windows

      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.

            Assignee:
            Ralf Schmelter
            Reporter:
            Ralf Schmelter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: