RFR: 8297020: Rename GrowableArray::on_stack

Stefan Karlsson stefank at openjdk.org
Tue Nov 15 11:16:52 UTC 2022


GrowableArray::on_stack is confusing. It returns true if the backing elements are allocated in the stack's resource area. We typically call this resource allocations, not stack allocations. I propose that we rename it.

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

Depends on: https://git.openjdk.org/jdk/pull/11086

Commit messages:
 - Rename GrowableArray::on_stack

Changes: https://git.openjdk.org/jdk/pull/11161/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11161&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8297020
  Stats: 22 lines in 3 files changed: 0 ins; 0 del; 22 mod
  Patch: https://git.openjdk.org/jdk/pull/11161.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11161/head:pull/11161

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


More information about the hotspot-dev mailing list