提交 9afdac5b 编写于 作者: P phh

Merge

......@@ -251,7 +251,8 @@ class ThreadImpl implements com.sun.management.ThreadMXBean {
boolean verified = verifyThreadCpuTime(ids);
int length = ids.length;
long[] times = java.util.Arrays.fill(new long[length], -1);
long[] times = new long[length];
java.util.Arrays.fill(times, -1);
if (verified) {
if (length == 1) {
......@@ -285,7 +286,8 @@ class ThreadImpl implements com.sun.management.ThreadMXBean {
boolean verified = verifyThreadCpuTime(ids);
int length = ids.length;
long[] times = java.util.Arrays.fill(new long[length], -1);
long[] times = new long[length];
java.util.Arrays.fill(times, -1);
if (verified) {
if (length == 1) {
......@@ -340,7 +342,8 @@ class ThreadImpl implements com.sun.management.ThreadMXBean {
public long[] getThreadAllocatedBytes(long[] ids) {
boolean verified = verifyThreadAllocatedMemory(ids);
long[] times = java.util.Arrays.fill(new long[length], -1);
long[] sizes = new long[ids.length];
java.util.Arrays.fill(sizes, -1);
if (verified) {
getThreadAllocatedMemory1(ids, sizes);
......
......@@ -439,6 +439,9 @@ java/rmi/reliability/benchmark/runRmiBench.sh generic-all
java/rmi/activation/rmidViaInheritedChannel/InheritedChannelNotServerSocket.java generic-all
java/rmi/activation/rmidViaInheritedChannel/RmidViaInheritedChannel.java generic-all
java/rmi/transport/rapidExportUnexport/RapidExportUnexport.java generic-all
java/rmi/transport/dgcDeadLock/TestImpl_Stub.java generic-all
# Address already in use, othervm mode, solaris
java/rmi/activation/Activatable/elucidateNoSuchMethod/ElucidateNoSuchMethod.java generic-all
java/rmi/activation/Activatable/forceLogSnapshot/ForceLogSnapshot.java generic-all
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册