RFR: 8256938: Improve remembered set sampling task scheduling

Albert Mingkun Yang ayang at openjdk.java.net
Wed Nov 25 16:15:55 UTC 2020

On Wed, 25 Nov 2020 14:35:49 GMT, Stefan Johansson <sjohanss at openjdk.org> wrote:

> might round down to 299ms (when the interval is 300ms), even if we are just a microsecond away.

In that case, using `> 0` will just delay the start of the task for ~1ms, right? Doesn't sound like a serious problem. Similarly, `> 1` could cause the task to be run ~1ms earlier than its intended 300ms interval, right? Either way is fine, but I think `>0` is less surprising.


PR: https://git.openjdk.java.net/jdk/pull/1428

More information about the hotspot-gc-dev mailing list