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

src/os/solaris, src/os/linux and src/os/bsd should not contain duplicate code

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P3
    • Resolution: Not an Issue
    • Affects Version/s: 7
    • Fix Version/s: 10
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      The src/os/solaris and src/os/linux directories contain quite a lot of duplicate code.
      A tiny start has been made by abstracting the launcher for both into src/os/posix, but
      as much refactoring between solaris and linux as possible should be done. The use of 'posix' as a directory name is perhaps a bit unfortunate, because it implies that
      only posix-compliant code should exist there, when in fact much of the common code
      between solaris and linux isn't posix-related or posix-compliant. We might create a 'unix'
      os directory to contain the solaris/linux common code. We should also take into account
      BSD and OSX in the refactoring process.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                coleenp Coleen Phillimore
                Reporter:
                phh Paul Hohensee
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: