RFR: Assert that region usage accounting is only accessed in generational mode

Y. Srinivas Ramakrishna ysr at openjdk.org
Thu May 11 02:18:17 UTC 2023


On Wed, 10 May 2023 20:39:49 GMT, William Kemper <wkemper at openjdk.org> wrote:

> There was one unrelated test failure in the github actions (running G1).

Is the idea of the assert then to catch the failure to debug it? Should the `global generation` instance not even exist (i.e. c'tor not be called) in non-generational mode, or can such an object exist, but this and only this method may not be called on it in non-generational mode? Wondering if this is just a question of running the failing GHA test to reproduce the issue?

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

PR Comment: https://git.openjdk.org/shenandoah/pull/278#issuecomment-1543220585


More information about the shenandoah-dev mailing list