RFR: Fix inconsistent "process weakrefs" logging

Roman Kennke rkennke at redhat.com
Wed Sep 26 11:21:31 UTC 2018


Yes, ok

Roman

> Missed a few spots from this changeset:
>  http://hg.openjdk.java.net/shenandoah/jdk/rev/7436e54a2cc5
> 
> Fix:
> 
> diff -r bf3a8554fa6f src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp
> --- a/src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp        Wed Sep 26 12:55:02 2018 +0200
> +++ b/src/hotspot/share/gc/shenandoah/shenandoahHeap.cpp        Wed Sep 26 13:08:21 2018 +0200
> @@ -2638,15 +2638,15 @@
> 
>    if (update_refs && proc_refs && unload_cls) {
> -    return "Pause Init Mark (update refs) (process refs) (unload classes)";
> +    return "Pause Init Mark (update refs) (process weakrefs) (unload classes)";
>    } else if (update_refs && proc_refs) {
> -    return "Pause Init Mark (update refs) (process refs)";
> +    return "Pause Init Mark (update refs) (process weakrefs)";
>    } else if (update_refs && unload_cls) {
>      return "Pause Init Mark (update refs) (unload classes)";
>    } else if (proc_refs && unload_cls) {
> -    return "Pause Init Mark (process refs) (unload classes)";
> +    return "Pause Init Mark (process weakrefs) (unload classes)";
>    } else if (update_refs) {
>      return "Pause Init Mark (update refs)";
>    } else if (proc_refs) {
> -    return "Pause Init Mark (process refs)";
> +    return "Pause Init Mark (process weakrefs)";
>    } else if (unload_cls) {
>      return "Pause Init Mark (unload classes)";
> 
> Thanks,
> -Aleksey
> 




More information about the shenandoah-dev mailing list