RFR: Two small C2 cleanups

Roman Kennke rkennke at redhat.com
Thu Nov 29 10:00:39 UTC 2018


We have those gratuitous diffs in C2:

diff --git a/src/hotspot/share/opto/phasetype.hpp
b/src/hotspot/share/opto/phasetype.hpp
--- a/src/hotspot/share/opto/phasetype.hpp
+++ b/src/hotspot/share/opto/phasetype.hpp
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012, 2018, Oracle and/or its affiliates. All rights
reserved.
+ * Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights
reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
diff --git a/src/hotspot/share/opto/subnode.cpp
b/src/hotspot/share/opto/subnode.cpp
--- a/src/hotspot/share/opto/subnode.cpp
+++ b/src/hotspot/share/opto/subnode.cpp
@@ -883,7 +883,7 @@
   //   LoadBarrier?(LoadP(LoadP(AddP(foo:Klass, #java_mirror))))
   //   or NULL if not matching.
   BarrierSetC2* bs = BarrierSet::barrier_set()->barrier_set_c2();
-  n = bs->step_over_gc_barrier(n);
+    n = bs->step_over_gc_barrier(n);

   if (n->Opcode() != Op_LoadP) return NULL;

Ok to fix?


Roman



More information about the shenandoah-dev mailing list