RFR: Initial sizing refactor [v2]

William Kemper wkemper at openjdk.org
Thu Dec 22 01:05:18 UTC 2022


On Thu, 22 Dec 2022 00:37:05 GMT, Y. Srinivas Ramakrishna <ysr at openjdk.org> wrote:

>> I reasoned that the denominator in a comparison between MMU's (i.e., process time) would be the same on both sides of the comparison, so I omitted it.
>
> My worry is that using the latest sample might lead to too much variance. Using a TruncatedSeq's decaying average would help with damping the error signal and lead to smoother control over sizing changes.

I'll experiment with that. I was going for responsiveness. Smoothing out the signal may also introduce a delay in resizing.

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

PR: https://git.openjdk.org/shenandoah/pull/185


More information about the shenandoah-dev mailing list