Details
-
Improvement
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Unlike System.currentTimeMillis(), which can jump/slew forward and backwards, System.nanoTime() is a monotonic clock (at least it should be) and hence it should be used to measure time intervals (timeouts/delays/etc).
Attachments
Attachments
Issue Links
- relates to
-
LOG4J2-993 Potential deadlock if a new Logger is created while log4j is reconfiguring in another thread
- Closed
- supercedes
-
LOG4J2-1048 FileConfigurationMonitor - High CPU usage
- Closed