RFR: 8338428: Print final VM flags for task [v2]

David Holmes dholmes at openjdk.org
Wed Jan 15 02:06:39 UTC 2025


On Sun, 12 Jan 2025 15:47:15 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:
> 
>   The test lib is not ued

Given we run many thousands of tests each day, the machine time needed to execute yet-another-vm for each test, would make this too costly. Can we not piggy-back this into the VM that does the "requires" processing?

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

PR Comment: https://git.openjdk.org/jdk/pull/23054#issuecomment-2591480970


More information about the hotspot-dev mailing list