Print this page
4719 Common patchset for jdk1.7 support preparation
@@ -47,11 +47,11 @@
consumer.compile("syscall:::entry { @[execname] = count(); } " +
"tick-101ms { printa(@); }");
consumer.enable();
consumer.go();
try {
- Thread.currentThread().sleep(1000);
+ Thread.sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
System.exit(1);
}
consumer.close();
@@ -75,11 +75,11 @@
consumer.compile("syscall:::entry { @[execname] = count(); } " +
"tick-101ms { printa(@); }");
consumer.enable();
consumer.go();
try {
- Thread.currentThread().sleep(1000);
+ Thread.sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
System.exit(1);
}
if (!aborted) {
@@ -127,11 +127,11 @@
consumer.compile("syscall:::entry { @[execname] = count(); } " +
"tick-101ms { printa(@); }");
consumer.enable();
consumer.go();
try {
- Thread.currentThread().sleep(1000);
+ Thread.sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
System.exit(1);
}
try {