RFR (trivial): Fix C1 stub print-names

Roman Kennke rkennke at redhat.com
Tue Jul 3 13:32:54 UTC 2018


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