Print this page
4719 Common patchset for jdk1.7 support preparation

@@ -42,11 +42,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();

@@ -62,11 +62,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 {