RFR: 8204550: NMT: RegionIterator does not need to keep _current_size

Johan Sjölen jsjolen at openjdk.org
Mon Mar 6 16:08:18 UTC 2023


On Thu, 2 Mar 2023 13:20:06 GMT, Johan Sjölen <jsjolen at openjdk.org> wrote:

> Hi,
> 
> This is just a small cleanup where an unnecessary class variable is removed.
> 
> Quoting the issue:
> 
>>class RegionIteretor does not need to keep _current_size, since that one can be calculated from the three remaining points (start, end of reserved size and current search pointer). 
> 
> Please consider, thanks.

Hi @tstuefe, are you interested in this PR? It's an old one that you reported that was closed and now re-opened and fixed.

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

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


More information about the hotspot-runtime-dev mailing list