Integrated: 8278581: Improve reference processing statistics log output
Albert Mingkun Yang
ayang at openjdk.java.net
Wed Jan 12 08:32:27 UTC 2022
On Sat, 11 Dec 2021 15:04:43 GMT, Albert Mingkun Yang <ayang at openjdk.org> wrote:
> The first commit renames `Cleared` to `Dropped` and added `Processed` in the log output.
>
> The second commit compressed the log output into one line per ref-type. The final log format looks like:
>
>
> [11.803s][debug][gc,phases,ref ] GC(0) SoftReference Discovered: 0, Dropped: 0, Processed: 0
> [11.803s][debug][gc,phases,ref ] GC(0) WeakReference Discovered: 1147, Dropped: 752, Processed: 395
> [11.803s][debug][gc,phases,ref ] GC(0) FinalReference Discovered: 0, Dropped: 0, Processed: 0
> [11.803s][debug][gc,phases,ref ] GC(0) PhantomReference Discovered: 242, Dropped: 2, Processed: 240
>
>
> Test: hotspot_gc
This pull request has now been integrated.
Changeset: 4f0b6502
Author: Albert Mingkun Yang <ayang at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/4f0b65023f8f37ba59a6397d8caf6b4b86ab18b7
Stats: 22 lines in 4 files changed: 8 ins; 3 del; 11 mod
8278581: Improve reference processing statistics log output
Reviewed-by: tschatzl, kbarrett, sjohanss
-------------
PR: https://git.openjdk.java.net/jdk/pull/6806
More information about the hotspot-gc-dev
mailing list