8311245: JFR: Remove t.printStackTrace() in PeriodicEvents
Reviewed-by: mgronlun
This commit is contained in:
parent
4b1403d06b
commit
a1cfc96954
@ -96,16 +96,8 @@ public final class PeriodicEvents {
|
||||
|
||||
// Only to be called from periodic task thread
|
||||
public static long doPeriodic() {
|
||||
try {
|
||||
return runPeriodic(JVM.counterTime());
|
||||
} catch (Throwable t) {
|
||||
t.printStackTrace();
|
||||
throw t;
|
||||
}
|
||||
}
|
||||
|
||||
// Code copied from prior native implementation
|
||||
private static long runPeriodic(long eventTimestamp) {
|
||||
long eventTimestamp = JVM.counterTime();
|
||||
// Code copied from prior native implementation
|
||||
long last = lastTimeMillis;
|
||||
// The interval for periodic events is typically at least 1 s, so
|
||||
// System.currentTimeMillis() is sufficient. JVM.counterTime() lacks
|
||||
|
Loading…
x
Reference in New Issue
Block a user