Bug 1857218 - Part 1: Rename Nursery::currentStartChunk_ and currentStartPosition_...
commit65f97c15d88fd88f529cb7f404d981e7e0f398e8
authorJon Coppeard <jcoppeard@mozilla.com>
Fri, 6 Oct 2023 08:36:53 +0000 (6 08:36 +0000)
committerJon Coppeard <jcoppeard@mozilla.com>
Fri, 6 Oct 2023 08:36:53 +0000 (6 08:36 +0000)
treecc3187c132a4e451118404703f7bc61518e51642
parent08eca17319718d38c9054df603f144bf98ff59b3
Bug 1857218 - Part 1: Rename Nursery::currentStartChunk_ and currentStartPosition_ r=sfink

These members specify the start of the nursery (usually they are zero, but can
be different in generational zeal mode). They are constant between collections.

Calling them 'current' implies that they change often and this could lead to
confusion with currentChunk, which does change between collections. It's
simpler to remove the 'current'.

Differential Revision: https://phabricator.services.mozilla.com/D190189
js/src/gc/Nursery.cpp
js/src/gc/Nursery.h