RFR: 8301819: Enable continuations code by default
David Holmes
dholmes at openjdk.org
Thu Feb 9 03:32:47 UTC 2023
On Tue, 7 Feb 2023 18:37:03 GMT, Alan Bateman <alanb at openjdk.org> wrote:
> The continuations code added in JDK 19 with JEP 425 is currently disabled by default and is only enabled when running with preview features enabled (`--enable-preview`). Disabled by default was the pragmatic choice at that time to reduce risk and possible performance regressions. We'd like to change this so the code is enabled by default on the platforms that have a port. Enabling this code by default helps to shake out any issues early in JDK 21 and sets things up to make virtual threads a permanent feature in the future. If something comes up in the next few weeks/months then it can be changed to be disabled by default again. This change has no impact on the builds that do not have a port.
>
> Testing: tier1-tier6
@AlanBateman I agree with enabling this and giving it time to bake. Vladimir has already checked there are no red flags on the performance front, so that is fine. If anything does arise we have, as you note, time to address it.
Copyright year needs updating in continuation.cpp.
Thanks.
-------------
Marked as reviewed by dholmes (Reviewer).
PR: https://git.openjdk.org/jdk/pull/12459
More information about the hotspot-dev
mailing list