RFR: 8338428: Add logging if final VM flags while setting properties [v6]
Roger Riggs
rriggs at openjdk.org
Fri Jan 17 23:11:37 UTC 2025
On Fri, 17 Jan 2025 18:50:22 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
>> Some VM flags might depend on the environment and it makes sense to log final flags so it is possible to get their value when investigating failures.
>>
>> I added them to VMProps, so it is always dump final flags before running tests using "-XX:+PrintFlagsFinal".
>>
>> Update:
>> There were intermittent compilation failures when I tried to use classes from testlibrary, so I rewrtite the code without them.
>
> Leonid Mesnik has updated the pull request incrementally with one additional commit since the last revision:
>
> updated flags
I don't see when these new flags come into use. I built the PR and ran tests through make and did not see the flags (PrintFinalFlags) used when running the tests in the resulting jtr files. (I ran a subset of both jdk and hotspot/jtreg tests.)
Is there an examine test showing the flags working? Thanks
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23054#issuecomment-2599353392
More information about the hotspot-dev
mailing list