提交 f0c72104 编写于 作者: M mchung

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

Reviewed-by: mchung
Contributed-by: NYasumasa Suenaga <yasu@ysfactory.dip.jp>
上级 b7f97be0
...@@ -62,7 +62,7 @@ public class PerfCounter { ...@@ -62,7 +62,7 @@ public class PerfCounter {
private PerfCounter(String name, int type) { private PerfCounter(String name, int type) {
this.name = name; this.name = name;
ByteBuffer bb = perf.createLong(name, U_None, type, 0L); ByteBuffer bb = perf.createLong(name, type, U_None, 0L);
bb.order(ByteOrder.nativeOrder()); bb.order(ByteOrder.nativeOrder());
this.lb = bb.asLongBuffer(); this.lb = bb.asLongBuffer();
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册