8201213: Remove INCLUDE_ALL_GCS from memset_with_concurrent_readers
Reviewed-by: kbarrett
This commit is contained in:
parent
48d527c5bd
commit
db903e5748
@ -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
|
||||
|
@ -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 @@ 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
|
||||
|
Loading…
Reference in New Issue
Block a user