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

HPROF: wrong nanos to millis conversion in j2se/src/solaris/demo/jvmti/hprof/hprof_md.c

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b65
    • CPU:
      generic
    • OS:
      solaris

      Description

      Two lines in this file state:

        return (jlong)(gethrvtime()/1000); /* Nano seconds to milli seconds */

      This nanos-to-millis conversion (dividing by 1000) seems incorrect
      given that:

        Nano = 10^-9
        Milli = 10^-3

        Attachments

          Activity

            People

            Assignee:
            ohair Kelly Ohair (Inactive)
            Reporter:
            clucasius Carlos Lucasius (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: