RFR: JDK-8289182: NMT: MemTracker::baseline should return void

Thomas Stuefe stuefe at openjdk.org
Sat Jun 25 06:49:11 UTC 2022


Small cleanup.

Since MemTracker::baseline() only returns true, it can revert to void, and error handling can be removed from all callers.

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

Commit messages:
 - let MemTracker::baseline return void

Changes: https://git.openjdk.org/jdk/pull/9288/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9288&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8289182
  Stats: 47 lines in 8 files changed: 0 ins; 11 del; 36 mod
  Patch: https://git.openjdk.org/jdk/pull/9288.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9288/head:pull/9288

PR: https://git.openjdk.org/jdk/pull/9288


More information about the hotspot-runtime-dev mailing list