8201213: Remove INCLUDE_ALL_GCS from memset_with_concurrent_readers
authorstefank
Fri, 06 Apr 2018 11:37:34 +0200
changeset 49712 9e059253786b
parent 49711 4a7addb5762c
child 49713 456e51e56ea2
8201213: Remove INCLUDE_ALL_GCS from memset_with_concurrent_readers Reviewed-by: kbarrett
src/hotspot/cpu/sparc/memset_with_concurrent_readers_sparc.cpp
src/hotspot/share/gc/shared/memset_with_concurrent_readers.hpp
--- a/src/hotspot/cpu/sparc/memset_with_concurrent_readers_sparc.cpp	Fri Apr 06 11:37:33 2018 +0200
+++ b/src/hotspot/cpu/sparc/memset_with_concurrent_readers_sparc.cpp	Fri Apr 06 11:37:34 2018 +0200
@@ -31,8 +31,6 @@
 #include "utilities/globalDefinitions.hpp"
 #include "utilities/macros.hpp"
 
-#if INCLUDE_ALL_GCS
-
 // An implementation of memset, for use when there may be concurrent
 // readers of the region being stored into.
 //
@@ -156,5 +154,3 @@
   // Fill any partial word suffix.  Also the prefix if size < BytesPerWord.
   fill_subword(to, end, value);
 }
-
-#endif // INCLUDE_ALL_GCS
--- a/src/hotspot/share/gc/shared/memset_with_concurrent_readers.hpp	Fri Apr 06 11:37:33 2018 +0200
+++ b/src/hotspot/share/gc/shared/memset_with_concurrent_readers.hpp	Fri Apr 06 11:37:34 2018 +0200
@@ -30,9 +30,6 @@
 #include <stddef.h>
 #include <string.h>
 
-// Only used by concurrent collectors.
-#if INCLUDE_ALL_GCS
-
 // Fill a block of memory with value, like memset, but with the
 // understanding that there may be concurrent readers of that memory.
 void memset_with_concurrent_readers(void* to, int value, size_t size);
@@ -50,6 +47,4 @@
 
 #endif // End of target dispatch.
 
-#endif // INCLUDE_ALL_GCS
-
 #endif // SRC_SHARE_VM_GC_SHARED_MEMSETWITHCONCURRENTREADERS_HPP