RFR: Avoid divide by zero error, improve variable names

William Kemper wkemper at openjdk.org
Wed Dec 21 22:26:20 UTC 2022


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.

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

Commit messages:
 - Avoid divide by zero error, improve variable names

Changes: https://git.openjdk.org/shenandoah/pull/188/files
 Webrev: https://webrevs.openjdk.org/?repo=shenandoah&pr=188&range=00
  Stats: 12 lines in 1 file changed: 6 ins; 1 del; 5 mod
  Patch: https://git.openjdk.org/shenandoah/pull/188.diff
  Fetch: git fetch https://git.openjdk.org/shenandoah pull/188/head:pull/188

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


More information about the shenandoah-dev mailing list