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

Nashorn compilation time reported in nanoseconds

    XMLWordPrintable

Details

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

    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

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

                Dates

                  Created:
                  Updated:
                  Resolved: