Details
-
Bug
-
Resolution: Fixed
-
P4
-
7
-
b89
Description
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);
public native ByteBuffer createLong(String name, int variability, int units, long value);
ByteBuffer bb = perf.createLong(name, type, U_None, 0L);
Attachments
Issue Links
- relates to
-
JDK-8012641 Perf_CreateLong creates perf counter of incorrect type
-
- Closed
-