diff --git a/src/hotspot/cpu/sparc/memset_with_concurrent_readers_sparc.cpp b/src/hotspot/cpu/sparc/memset_with_concurrent_readers_sparc.cpp index e442d8f9c41..19871c6ab86 100644 --- a/src/hotspot/cpu/sparc/memset_with_concurrent_readers_sparc.cpp +++ b/src/hotspot/cpu/sparc/memset_with_concurrent_readers_sparc.cpp @@ -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 @@ void memset_with_concurrent_readers(void* to, int value, size_t size) { // Fill any partial word suffix. Also the prefix if size < BytesPerWord. fill_subword(to, end, value); } - -#endif // INCLUDE_ALL_GCS diff --git a/src/hotspot/share/gc/shared/memset_with_concurrent_readers.hpp b/src/hotspot/share/gc/shared/memset_with_concurrent_readers.hpp index 4d7dc2b276f..c50365e8b42 100644 --- a/src/hotspot/share/gc/shared/memset_with_concurrent_readers.hpp +++ b/src/hotspot/share/gc/shared/memset_with_concurrent_readers.hpp @@ -30,9 +30,6 @@ #include #include -// 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 @@ inline void memset_with_concurrent_readers(void* to, int value, size_t size) { #endif // End of target dispatch. -#endif // INCLUDE_ALL_GCS - #endif // SRC_SHARE_VM_GC_SHARED_MEMSETWITHCONCURRENTREADERS_HPP