RFR: 8338341: GenShen: Cleanup headers, unreachable code and unintentional changes
William Kemper
wkemper at openjdk.org
Wed Aug 14 16:25:11 UTC 2024
On Wed, 14 Aug 2024 05:54:39 GMT, Y. Srinivas Ramakrishna <ysr at openjdk.org> wrote:
>> This PR covers a number of small changes to address comments on https://github.com/openjdk/jdk/pull/20395
>
> src/hotspot/share/gc/shared/gcConfiguration.cpp line 75:
>
>> 73:
>> 74: if (UseShenandoahGC) {
>> 75: return Shenandoah;
>
> @earthling-amzn : Here and at lines 47-52, don't we want to return, much like Gen ZGC does, the (new) values `ShenandoahMinor` and `ShenandoahMajor` -- or ShYoung and ShOld, or ShNew and ShOld, as one prefers -- for the young and old collectors, respectively, in the generational case, and just Shenandoah for both cases in the non-generational case?
>
> Where are the `GCConfiguration::*_collector()` APIs called from?
We could do that on a different PR.
-------------
PR Review Comment: https://git.openjdk.org/shenandoah/pull/468#discussion_r1717227337
More information about the shenandoah-dev
mailing list