Integrated: 8302873: ZGC: dump barrier data in C2 Mach nodes
Roberto Castañeda Lozano
rcastanedalo at openjdk.org
Wed Feb 22 11:02:43 UTC 2023
On Mon, 20 Feb 2023 13:44:35 GMT, Roberto Castañeda Lozano <rcastanedalo at openjdk.org> wrote:
> This changeset adds (debug-only) support for printing ZGC barrier data in a human-readable form as part of the C2 Mach node dumps. This is useful for debugging, IGV visualization (e.g. to create [barrier-specific filters](https://user-images.githubusercontent.com/8792647/216639224-aa288dd8-72cc-43a5-a445-a93d65004dac.png)), and for matching nodes in IR test framework checks (e.g. to write [barrier optimization tests](https://github.com/openjdk/zgc/blob/zgc_generational/test/hotspot/jtreg/compiler/gcbarriers/TestZGCBarrierElision.java)).
>
> #### Testing
>
> - tier1 (x64 and aaarch64; linux, windows, and macosx; release and debug mode)
> - tested manually that the expected barrier information is dumped when using ZGC
> - tested manually that the dumps remain unchanged when using another GC
This pull request has now been integrated.
Changeset: 30b2ac4a
Author: Roberto Castañeda Lozano <rcastanedalo at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/30b2ac4a28dd871dc56490ce159a18fe30b8855f
Stats: 38 lines in 4 files changed: 35 ins; 0 del; 3 mod
8302873: ZGC: dump barrier data in C2 Mach nodes
Reviewed-by: thartmann, kvn
-------------
PR: https://git.openjdk.org/jdk/pull/12662
More information about the hotspot-gc-dev
mailing list