changeset 10562:189efe045210

8151513: Remove debugging code from BarrierSet Reviewed-by: pliden, stefank
author brutisso
date Wed, 09 Mar 2016 14:05:50 +0100
parents 47a9289d9b0b
children f81ea6b38171
files src/share/vm/gc/shared/barrierSet.cpp src/share/vm/gc/shared/barrierSet.inline.hpp
diffstat 2 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/vm/gc/shared/barrierSet.cpp	Wed Mar 09 09:56:10 2016 +0100
+++ b/src/share/vm/gc/shared/barrierSet.cpp	Wed Mar 09 14:05:50 2016 +0100
@@ -30,10 +30,6 @@
 // count is number of array elements being written
 void BarrierSet::static_write_ref_array_pre(HeapWord* start, size_t count) {
   assert(count <= (size_t)max_intx, "count too large");
-#if 0
-  warning("Pre: \t" INTPTR_FORMAT "[" SIZE_FORMAT "]\t",
-                   start,            count);
-#endif
   if (UseCompressedOops) {
     Universe::heap()->barrier_set()->write_ref_array_pre((narrowOop*)start, (int)count, false);
   } else {
--- a/src/share/vm/gc/shared/barrierSet.inline.hpp	Wed Mar 09 09:56:10 2016 +0100
+++ b/src/share/vm/gc/shared/barrierSet.inline.hpp	Wed Mar 09 14:05:50 2016 +0100
@@ -78,10 +78,6 @@
   // If compressed oops were not being used, these should already be aligned
   assert(UseCompressedOops || (aligned_start == start && aligned_end == end),
          "Expected heap word alignment of start and end");
-#if 0
-  warning("Post:\t" INTPTR_FORMAT "[" SIZE_FORMAT "] : [" INTPTR_FORMAT "," INTPTR_FORMAT ")\t",
-                   start,            count,              aligned_start,   aligned_end);
-#endif
   write_ref_array_work(MemRegion(aligned_start, aligned_end));
 }