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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: 7
    • Component/s: 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);

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

              Created:
              Updated:
              Resolved: