RFR (trivial): Fix C1 stub print-names

Zhengyu Gu zgu at redhat.com
Tue Jul 3 13:35:21 UTC 2018


Looks good.

-Zhengyu

On 07/03/2018 09:32 AM, Roman Kennke wrote:
> Followup to C1 stubs refactoring, ok?
> 
> 
> 
> # HG changeset patch
> # User rkennke
> # Date 1530624693 -7200
> #      Tue Jul 03 15:31:33 2018 +0200
> # Node ID f32f6856f316056a38f2f974c5f5cb6896b751d3
> # Parent  6baf4b9053ca80e14016e6939d0f145948939c76
> Fix C1 stub print-names
> 
> diff --git
> a/src/hotspot/share/gc/shenandoah/c1/shenandoahBarrierSetC1.hpp
> b/src/hotspot/share/gc/shenandoah/c1/shenandoahBarrierSetC1.hpp
> --- a/src/hotspot/share/gc/shenandoah/c1/shenandoahBarrierSetC1.hpp
> +++ b/src/hotspot/share/gc/shenandoah/c1/shenandoahBarrierSetC1.hpp
> @@ -81,7 +81,7 @@
>       }
>     }
>   #ifndef PRODUCT
> -  virtual void print_name(outputStream* out) const {
> out->print("G1PreBarrierStub"); }
> +  virtual void print_name(outputStream* out) const {
> out->print("ShenandoahPreBarrierStub"); }
>   #endif // PRODUCT
>   };
> 
> @@ -113,7 +113,7 @@
>       visitor->do_temp(_result);
>     }
>   #ifndef PRODUCT
> -  virtual void print_name(outputStream* out) const {
> out->print("G1PreBarrierStub"); }
> +  virtual void print_name(outputStream* out) const {
> out->print("ShenandoahWritePreBarrierStub"); }
>   #endif // PRODUCT
>   };
> 
> 


More information about the shenandoah-dev mailing list