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

    • b65
    • generic
    • solaris

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: