RFR: 8349722: [leyden] Option to block until preloading is complete [v2]

Vladimir Kozlov kvn at openjdk.org
Mon Feb 10 19:55:23 UTC 2025


On Mon, 10 Feb 2025 18:16:39 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

>> Oh. Let me try.
>
> I don't think it works well. AFAICS, default compiler directives get initialized off the global `BackgroundCompilation` option at init time, through `DirectivesStack::init` during `CompilerBroker` init.  The dumping CS path you linked above works, because it adjusts the global flag during arguments processing, before compiler broker is initialized. 
> 
> For our use here, it is too late to flip `BackgroundCompilation` to `false` and back.

Thank you for checking.

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

PR Review Comment: https://git.openjdk.org/leyden/pull/36#discussion_r1949789066


More information about the leyden-dev mailing list