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

Nashorn compilation time reported in nanoseconds

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 8u60, 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:

      Backports

        Description

        With the --log=compiler,time option enabled, compilation times are reported in nanoseconds, leading to unreasonably large numbers. The fix is to apply TimeUnit.NANOSECONDS.toMillis() in the place where the compiler logs its timing characteristics.

          Activity

          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/dev/nashorn/rev/d2eb81e4ddc8
          User: mhaupt
          Date: 2015-11-19 10:36:16 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/dev/nashorn/rev/d2eb81e4ddc8 User: mhaupt Date: 2015-11-19 10:36:16 +0000
          Hide
          hgupdate HG Updates added a comment -
          URL: http://hg.openjdk.java.net/jdk9/jdk9/nashorn/rev/d2eb81e4ddc8
          User: lana
          Date: 2015-11-25 21:18:13 +0000
          Show
          hgupdate HG Updates added a comment - URL: http://hg.openjdk.java.net/jdk9/jdk9/nashorn/rev/d2eb81e4ddc8 User: lana Date: 2015-11-25 21:18:13 +0000

            People

            • Assignee:
              mhaupt Michael Haupt
              Reporter:
              mhaupt Michael Haupt
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: