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

Nashorn compilation time reported in nanoseconds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 8u60, 9
    • core-libs

        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.

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

                Created:
                Updated:
                Resolved: