RFR: 8338490: Serial: Move Generation::print_on to subclasses [v2]
Albert Mingkun Yang
ayang at openjdk.org
Tue Aug 20 09:16:20 UTC 2024
> Trivial inlining a virtual method to subclasses and some cleanup to related methods.
>
> The gc-log is slightly updated due to the change of the name of generations. Log before&after shown below:
>
>
> # baseline
>
> [2.417s][debug][gc,heap] GC(0) def new generation total 153600K, used 76645K [0x000000060d800000, 0x0000000617ea0000, 0x00000006b3aa0000)
> [2.417s][debug][gc,heap] GC(0) eden space 136576K, 56% used [0x000000060d800000, 0x00000006122d9538, 0x0000000615d60000)
> [2.417s][debug][gc,heap] GC(0) from space 17024K, 0% used [0x0000000615d60000, 0x0000000615d60000, 0x0000000616e00000)
> [2.417s][debug][gc,heap] GC(0) to space 17024K, 0% used [0x0000000616e00000, 0x0000000616e00000, 0x0000000617ea0000)
> [2.417s][debug][gc,heap] GC(0) tenured generation total 341376K, used 0K [0x00000006b3aa0000, 0x00000006c8800000, 0x0000000800000000)
> [2.417s][debug][gc,heap] GC(0) the space 341376K, 0% used [0x00000006b3aa0000, 0x00000006b3aa0000, 0x00000006c8800000)
>
> # new
>
> [9.846s][debug][gc,heap] GC(0) DefNew total 153600K, used 71165K [0x000000060d800000, 0x0000000617ea0000, 0x00000006b3aa0000)
> [9.846s][debug][gc,heap] GC(0) eden space 136576K, 52% used [0x000000060d800000, 0x0000000611d7f708, 0x0000000615d60000)
> [9.846s][debug][gc,heap] GC(0) from space 17024K, 0% used [0x0000000615d60000, 0x0000000615d60000, 0x0000000616e00000)
> [9.846s][debug][gc,heap] GC(0) to space 17024K, 0% used [0x0000000616e00000, 0x0000000616e00000, 0x0000000617ea0000)
> [9.846s][debug][gc,heap] GC(0) Tenured total 341376K, used 0K [0x00000006b3aa0000, 0x00000006c8800000, 0x0000000800000000)
> [9.846s][debug][gc,heap] GC(0) the space 341376K, 0% used [0x00000006b3aa0000, 0x00000006b3aa0000, 0x00000006c8800000)
Albert Mingkun Yang has updated the pull request incrementally with one additional commit since the last revision:
review
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/20607/files
- new: https://git.openjdk.org/jdk/pull/20607/files/e9cb6c93..f9be4f79
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=20607&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=20607&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/20607.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/20607/head:pull/20607
PR: https://git.openjdk.org/jdk/pull/20607
More information about the hotspot-gc-dev
mailing list