[jdk11u-dev] Integrated: 8283199: Linux os::cpu_microcode_revision() stalls cold startup
Aleksey Shipilev
shade at openjdk.org
Mon Nov 21 08:47:19 UTC 2022
On Mon, 24 Oct 2022 09:32:39 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:
> Unclean backport to fix the startup time regression.
>
> The backport is not clean, because [JDK-8238161](https://bugs.openjdk.org/browse/JDK-8238161) is not present in JDK 11, and thus we have `fopen` instead of `os::fopen` in these hunks. I changed the code back to `fopen` to be consistent with the rest of JDK 11.
>
> Verified the startup time improves, using the scripts from the issue.
>
>
> # Before
> real 0m0.081s
> real 0m0.081s
> real 0m0.081s
>
> # After
> real 0m0.062s
> real 0m0.062s
> real 0m0.062s
>
>
> Additional testing:
> - [x] Linux x86_64 fastdebug `tier1`
This pull request has now been integrated.
Changeset: 5d9c09b8
Author: Aleksey Shipilev <shade at openjdk.org>
URL: https://git.openjdk.org/jdk11u-dev/commit/5d9c09b8f10da495989918cb64ea4f92f520ccb5
Stats: 19 lines in 1 file changed: 16 ins; 0 del; 3 mod
8283199: Linux os::cpu_microcode_revision() stalls cold startup
Reviewed-by: stuefe
Backport-of: 1443f6b9191c127abdae38cadb1a44af3c652f1d
-------------
PR: https://git.openjdk.org/jdk11u-dev/pull/1471
More information about the jdk-updates-dev
mailing list