On Mon, 24 Aug 2026 16:04:05 GMT, Thomas Stuefe <[email protected]> wrote:
> Fix a number of smaller issues surrounding ErrorLogTimeout, some of which I > introduced with https://bugs.openjdk.org/browse/JDK-8303861: > > - Make ErrorLogTimeout an `unsigned`. Its "number of seconds", and unsigned > gives us 130+ years, which is enough for the error log timeout. > - Clarified the special value "0" to mean "no error log timeout" > - renamed TIMESTAMP_TO_SECONDS_FACTOR to the less confusing > SECONDS_TO_NANOS_FACTOR, and removed the useless > `VMError::get_current_timestamp()` wrapper. > - Fixed the calculation of error step timeouts to actually use a 5-second cap > as intended, and clarified the comment. > - Test changes: Some tests relied on ErrorLogTimeout to be a uint64_t. > Replaced those with a different parameter that still is. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). This pull request has now been integrated. Changeset: 4690ea70 Author: Thomas Stuefe <[email protected]> URL: https://git.openjdk.org/jdk/commit/4690ea700a053fe3c9425237bafd94161f1cac4e Stats: 32 lines in 5 files changed: 3 ins; 9 del; 20 mod 8379453: Fix problems with ErrorLogTimeout Reviewed-by: coleenp, sspitsyn ------------- PR: https://git.openjdk.org/jdk/pull/32510
