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

sun.misc.PerfCounter calls Perf.createLong with incorrect parameters

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 7
    • core-libs
    • b89

      sun.misc.PerfCounter constructor calls Perf.createLong but it passes unit and varability in the 2nd and 3rd parameters which is incorrect. The signature of Perf.createLong is:
          public native ByteBuffer createLong(String name, int variability, int units, long value);

      ByteBuffer bb = perf.createLong(name, type, U_None, 0L);

            mchung Mandy Chung (Inactive)
            mchung Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: