Integrated: 8255756: Disabling logging does unnecessary work
Claes Redestad
redestad at openjdk.java.net
Thu Nov 5 21:23:00 UTC 2020
On Mon, 2 Nov 2020 12:43:42 GMT, Claes Redestad <redestad at openjdk.org> wrote:
> When disabling UL outputs - for example when shutting down the JVM - we are doing some unnecessary work:
>
> - we always disable all outputs in bulk, but the routine searches up outputs one by one in the LogTagSet output lists - instead we could just drop all nodes in these lists in one quick pass.
> - when finalizing for a JVM shutdown, it's unnecessary to update decorators
>
> While not technically startup this gets rid of some noise on JVM exit (~45k instructions) that show up when using full JVM executions as a proxy for startup testing (or when running many shortlived JVMs back-to-back).
This pull request has now been integrated.
Changeset: e66fd6f0
Author: Claes Redestad <redestad at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/e66fd6f0
Stats: 50 lines in 5 files changed: 32 ins; 4 del; 14 mod
8255756: Disabling logging does unnecessary work
Reviewed-by: iklam
-------------
PR: https://git.openjdk.java.net/jdk/pull/1005
More information about the hotspot-runtime-dev
mailing list