The existing implementation uses a combination of byte sizes and word sizes, making the code more difficult to read and maintain. A reviewer of https://github.com/openjdk/jdk/pull/20395 made a request for this change. In private discussions with the reviewer, we agreed that the change will affect both Generational Shenandoah code and the shared implementation of Single-Generation Shenandoah.