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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: