Skip to content

Commit

Permalink
minor formatting and cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
hemanthmeka committed Dec 7, 2018
1 parent 1861ac2 commit ba5e59a
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ public final class HeapMemoryMonitor implements NotificationListener,
private static final int POLLER_INTERVAL =
Integer.getInteger(POLLER_INTERVAL_PROP, 500);

// Duration in millis to wait for jmap -histo to finish
private static final int JMAP_HISTO_SLEEP_DURATION = 3 * 1000;

// This holds a new event as it transitions from updateStateAndSendEvent(...) to fillInProfile()
private ThreadLocal<MemoryEvent> upcomingEvent = new ThreadLocal<MemoryEvent>();

Expand Down Expand Up @@ -706,7 +703,7 @@ public void jmapDump(String pid) {
if (filtArgs.length > 0) {
heapDumpTimeout = Integer.parseInt(filtArgs[0].toString());
}
}catch (NumberFormatException e) {
} catch (NumberFormatException e) {
logger.warn("Failed to parse user provided value for " +
"OnCriticalHeapDumpTimeoutSeconds. default value of 30 will be used");
}
Expand Down

0 comments on commit ba5e59a

Please sign in to comment.