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

    • b65
    • generic
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: