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

Remove launcher's built-in ergonomics

    Details

    • Subcomponent:
    • Resolved In Build:
      b145
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Description

      The launcher has built-in ergonomics primarily to decide whether to invoke a server or a client vm, and this is based upon detecting the number of cpus and the amount of memory available on the system to decide whether it is server class system in which case the server VM would be chosen, otherwise the client VM.

      Noting that 64-bit systems are prevalent now and server VM is the only supported VM on these architectures.
      Modern hardware have Hyper-threading and virtual processors which always selects the server VM.

      Therefore, the launcher ergonomics is obsolete and its algorithm outdated and simply needs to be removed.
      1. ergo.patch
        31 kB
        Kumar Srinivasan

        Activity

        Hide
        dholmes David Holmes added a comment - - edited
        Is this also getting rid of, or at least editing, the jvm.cfg files?
        Show
        dholmes David Holmes added a comment - - edited Is this also getting rid of, or at least editing, the jvm.cfg files?
        Hide
        ksrini Kumar Srinivasan added a comment -
        Only launcher ergo, no changes to jvm.cfg for jdk9. Can you please explain what needs to be edited ?
        Show
        ksrini Kumar Srinivasan added a comment - Only launcher ergo, no changes to jvm.cfg for jdk9. Can you please explain what needs to be edited ?
        Hide
        dholmes David Holmes added a comment -
        -client IF_SERVER_CLASS -server
        Show
        dholmes David Holmes added a comment - -client IF_SERVER_CLASS -server
        Hide
        ksrini Kumar Srinivasan added a comment -
        Absolutely.
        Show
        ksrini Kumar Srinivasan added a comment - Absolutely.
        Show
        ksrini Kumar Srinivasan added a comment - http://mail.openjdk.java.net/pipermail/core-libs-dev/2016-November/044570.html
        Hide
        hgupdate HG Updates added a comment -
        URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/9aaa84760473
        User: ksrini
        Date: 2016-11-11 02:14:47 +0000
        Show
        hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/9aaa84760473 User: ksrini Date: 2016-11-11 02:14:47 +0000
        Hide
        hgupdate HG Updates added a comment -
        URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/9aaa84760473
        User: lana
        Date: 2016-11-16 20:23:22 +0000
        Show
        hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/9aaa84760473 User: lana Date: 2016-11-16 20:23:22 +0000

          People

          • Assignee:
            ksrini Kumar Srinivasan
            Reporter:
            ksrini Kumar Srinivasan
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: