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.

          Attachments

            Issue Links

              Activity

                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: