RFR (XS) 8245461: Shenandoah: refine mode name()-s

Zhengyu Gu zgu at redhat.com
Wed May 20 13:11:17 UTC 2020


Looks good.

-Zhengyu

On 5/20/20 8:58 AM, Aleksey Shipilev wrote:
> RFE:
>    https://bugs.openjdk.java.net/browse/JDK-8245461
> 
> Fixes a typo in SATB name(), and updates the IU mode to match.
> 
> diff -r b620b11f83d7 src/hotspot/share/gc/shenandoah/mode/shenandoahIUMode.hpp
> --- a/src/hotspot/share/gc/shenandoah/mode/shenandoahIUMode.hpp Wed May 20 12:01:44 2020 +0200
> +++ b/src/hotspot/share/gc/shenandoah/mode/shenandoahIUMode.hpp Wed May 20 14:57:05 2020 +0200
> @@ -36,3 +36,3 @@
> 
> -  virtual const char* name()     { return "Incremental-Update"; }
> +  virtual const char* name()     { return "Incremental-Update (IU)"; }
>     virtual bool is_diagnostic()   { return false; }
> diff -r b620b11f83d7 src/hotspot/share/gc/shenandoah/mode/shenandoahSATBMode.hpp
> --- a/src/hotspot/share/gc/shenandoah/mode/shenandoahSATBMode.hpp       Wed May 20 12:01:44 2020 +0200
> +++ b/src/hotspot/share/gc/shenandoah/mode/shenandoahSATBMode.hpp       Wed May 20 14:57:05 2020 +0200
> @@ -35,3 +35,3 @@
>     virtual ShenandoahHeuristics* initialize_heuristics() const;
> -  virtual const char* name()     { return "Snapshot-At-TheBeginning"; }
> +  virtual const char* name()     { return "Snapshot-At-The-Beginning (SATB)"; }
>     virtual bool is_diagnostic()   { return false; }
> 
> Testing: builds
> 



More information about the hotspot-gc-dev mailing list