Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7165755

OS Information much longer for linux than other platforms

    XMLWordPrintable

Details

    • b12
    • generic
    • generic
    • Verified

    Backports

      Description

        When looking at the info from os::print_os_info() in
        src/os/linux/vm/os_linux.cpp:2024 (and other files for other platforms)
        the length of the text is radically longer for linux than other platforms.

        This can make it hard for tool writers to get a summary that look good and similar for multiple platforms (sizing of gui fields, having to parse info in the tool code etc)

        Lookin at the code, it's in some serious need of refactoring. It would be nice with a method to get a "brief" os info for these kinds of tools that looks similar on all platforms.

        Attachments

          Issue Links

            Activity

              People

                nloodin Nils Loodin (Inactive)
                nloodin Nils Loodin (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: