Print this page
4719 Common patchset for jdk1.7 support preparation
*** 61,71 ****
private static void
sampleAggregate(Consumer consumer) throws DTraceException
{
while (consumer.isRunning() && !done.get()) {
try {
! Thread.currentThread().sleep(50);
} catch (InterruptedException e) {
}
consumer.getAggregate(Collections. <String> emptySet());
}
--- 61,71 ----
private static void
sampleAggregate(Consumer consumer) throws DTraceException
{
while (consumer.isRunning() && !done.get()) {
try {
! Thread.sleep(50);
} catch (InterruptedException e) {
}
consumer.getAggregate(Collections. <String> emptySet());
}