[crac] RFR: 8375044: [CRaC] Structured engine options info [v7]

Timofei Pushkin tpushkin at openjdk.org
Fri Jan 23 13:22:15 UTC 2026


On Thu, 22 Jan 2026 09:03:51 GMT, Radim Vansa <rvansa at openjdk.org> wrote:

>> Currently the engine documents all exposed options through the description extension; this has some downsides:
>> 
>> * when the JVM wants to change engine option default, -XX:CRaCEngineOptions=help would print wrong value
>> * options completely controlled by JVM (such as image_location) are reported, too
>> * options documentation format is fully up to the engine (and it would be more complicated to reflow lines in the output)
>> 
>> The solution is exposing options info in a more structured manner.
>> 
>> As an extra feature we can use -XX:CRaCEngineOptions=help=foo to limit help to only those containing 'foo' in the name.
>
> Radim Vansa has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Apply suggestions from code review
>   
>   Move _options intitialization
>   
>   Co-authored-by: Timofei Pushkin <pushkin.td at gmail.com>

Marked as reviewed by tpushkin (Committer).

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

PR Review: https://git.openjdk.org/crac/pull/286#pullrequestreview-3697440272


More information about the crac-dev mailing list