Withdrawn: 8342570: gc.*.gcUntilOld() assumes that full gc always promotes objects to old generation in a generational heap

Y. Srinivas Ramakrishna ysr at openjdk.org
Fri Mar 28 01:56:53 UTC 2025


On Mon, 21 Oct 2024 15:42:07 GMT, Y. Srinivas Ramakrishna <ysr at openjdk.org> wrote:

> Some gc's such as Generational Shenandoah may run in modes where we choose not to (ever) promote objects to the old generation. The tests do not need the assumption of eventual promotion of an object into the old generation in such cases and can be relaxed. A new WhiteBox API is queried by the tests to check for this.
> 
> **Testing**:  Ran the tests with all the existing collectors. For existing collectors, there is no change in the tests. For Generational Shenandoah, being the only collector that does not necessarily promote objects to the old generation upon a full gc, we relax that requirement from the tests.

This pull request has been closed without being integrated.

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

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


More information about the shenandoah-dev mailing list