Integrated: Avoid divide by zero error, improve variable names

William Kemper wkemper at openjdk.org
Wed Dec 21 23:44:19 UTC 2022


On Wed, 21 Dec 2022 22:19:13 GMT, William Kemper <wkemper at openjdk.org> wrote:

> Depending on when the periodic thread runs the accounting task and how much CPU time the process receives, we may see a very small elapsed process time. Such a time should not be used to compute MMU.

This pull request has now been integrated.

Changeset: d793fd16
Author:    William Kemper <wkemper at openjdk.org>
URL:       https://git.openjdk.org/shenandoah/commit/d793fd1620e430be6fcba83361b421856f5bbfd5
Stats:     12 lines in 1 file changed: 6 ins; 1 del; 5 mod

Avoid divide by zero error, improve variable names

Reviewed-by: kdnilsen

-------------

PR: https://git.openjdk.org/shenandoah/pull/188


More information about the shenandoah-dev mailing list