[crac] RFR: 8358161: [CRaC] Make VM-controlled options engine-dependent

Radim Vansa rvansa at openjdk.org
Mon Jun 2 14:56:20 UTC 2025


On Fri, 30 May 2025 12:49:48 GMT, Timofei Pushkin <tpushkin at openjdk.org> wrote:

> "Configuration options controlled by the JVM: ..." section of `-XX:CRaCEngineOptions=help` will now only list the options which are supported by the current engine.

src/hotspot/share/runtime/crac.cpp line 339:

> 337:   tty->print_raw(conf_doc); // Doc string ends with CR by convention
> 338: 
> 339:   const GrowableArrayCHeap<const char *, MemTag::mtInternal> *controlled_opts = engine.vm_controlled_options();

This looks like we're allocating on CHeap but the growable array is not deleted?

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

PR Review Comment: https://git.openjdk.org/crac/pull/235#discussion_r2121404000


More information about the crac-dev mailing list