RFR: JDK-8349077 : Rename GenerationCounters::update_all [v2]

Suchismith Roy sroy at openjdk.org
Mon Jun 16 16:36:14 UTC 2025


> JBS Issue : [JDK-8349077](https://bugs.openjdk.org/browse/JDK-8349077)
> 
> we found the method names update_all of the class GenerationCounters and its subclasses are not so good. It is better to rename it to something like update_capacity (such as ZGenerationCounters::update_capacity).
> 
> 
> 
> Update_capacity exists, since update_all updates the size and used , I found update_memory_state as a better name for this method.

Suchismith Roy has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:

 - Merge branch 'openjdk:master' into update_memory_state
 - update_capacity exists

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25833/files
  - new: https://git.openjdk.org/jdk/pull/25833/files/cf2d66d5..419f3d5f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25833&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25833&range=00-01

  Stats: 202092 lines in 3611 files changed: 122500 ins; 53972 del; 25620 mod
  Patch: https://git.openjdk.org/jdk/pull/25833.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25833/head:pull/25833

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


More information about the shenandoah-dev mailing list