RFR: 8321997: Increase upper limit of LoopOptsCount flag
Tobias Holenstein
tholenstein at openjdk.org
Thu Nov 7 08:58:46 UTC 2024
On Wed, 6 Nov 2024 09:13:12 GMT, Tobias Holenstein <tholenstein at openjdk.org> wrote:
> Currently `LoopOptsCount` has a range of 5-43 with default value 43. For stress testing we want to set values higher than 43. Set to upper limit to 1000 or even max_jint.
I'm not really sure why 43 was chosen as the default. With this PR, we can experiment with higher values and potentially adjust the default in the future.
>From my own tests, I have rarely seen the 43 limit hit, but I have observed a few edge cases where loop optimization were applied in the hundreds (after removing the 43 limit). We would need to look into those cases more closely to see if they actually improve performance or if they might even reveal issues in the loop optimizations.
Thanks for the reviews @shipilev and @chhagedorn !
-------------
PR Comment: https://git.openjdk.org/jdk/pull/21921#issuecomment-2461662396
More information about the hotspot-compiler-dev
mailing list