8268119: Rename copy_os_cpu.inline.hpp files to copy_os_cpu.hpp

Reviewed-by: kbarrett, coleenp
This commit is contained in:
Stefan Karlsson 2021-06-03 09:03:27 +00:00
parent 178343750f
commit 1296a6c425
10 changed files with 24 additions and 36 deletions

View File

@ -26,11 +26,7 @@
#ifndef CPU_AARCH64_COPY_AARCH64_HPP
#define CPU_AARCH64_COPY_AARCH64_HPP
// Inline functions for memory copy and fill.
// Contains inline asm implementations
#include OS_CPU_HEADER_INLINE(copy)
#include OS_CPU_HEADER(copy)
static void pd_fill_to_words(HeapWord* tohw, size_t count, juint value) {
julong* to = (julong*) tohw;

View File

@ -25,12 +25,7 @@
#ifndef CPU_ARM_COPY_ARM_HPP
#define CPU_ARM_COPY_ARM_HPP
#include "utilities/macros.hpp"
// Inline functions for memory copy and fill.
// Contains inline asm implementations
#include OS_CPU_HEADER_INLINE(copy)
#include OS_CPU_HEADER(copy)
static void pd_fill_to_words(HeapWord* tohw, size_t count, juint value) {
juint* to = (juint*)tohw;

View File

@ -25,10 +25,7 @@
#ifndef CPU_X86_COPY_X86_HPP
#define CPU_X86_COPY_X86_HPP
// Inline functions for memory copy and fill.
// Contains inline asm implementations
#include OS_CPU_HEADER_INLINE(copy)
#include OS_CPU_HEADER(copy)
static void pd_fill_to_words(HeapWord* tohw, size_t count, juint value) {
#ifdef AMD64

View File

@ -24,8 +24,8 @@
*
*/
#ifndef OS_CPU_BSD_AARCH64_COPY_BSD_AARCH64_INLINE_HPP
#define OS_CPU_BSD_AARCH64_COPY_BSD_AARCH64_INLINE_HPP
#ifndef OS_CPU_BSD_AARCH64_COPY_BSD_AARCH64_HPP
#define OS_CPU_BSD_AARCH64_COPY_BSD_AARCH64_HPP
#define COPY_SMALL(from, to, count) \
{ \
@ -186,4 +186,4 @@ static void pd_arrayof_conjoint_oops(const HeapWord* from, HeapWord* to, size_t
_Copy_arrayof_conjoint_jlongs(from, to, count);
}
#endif // OS_CPU_BSD_AARCH64_COPY_BSD_AARCH64_INLINE_HPP
#endif // OS_CPU_BSD_AARCH64_COPY_BSD_AARCH64_HPP

View File

@ -22,8 +22,8 @@
*
*/
#ifndef OS_CPU_BSD_X86_COPY_BSD_X86_INLINE_HPP
#define OS_CPU_BSD_X86_COPY_BSD_X86_INLINE_HPP
#ifndef OS_CPU_BSD_X86_COPY_BSD_X86_HPP
#define OS_CPU_BSD_X86_COPY_BSD_X86_HPP
static void pd_conjoint_words(const HeapWord* from, HeapWord* to, size_t count) {
#ifdef AMD64
@ -306,4 +306,4 @@ static void pd_arrayof_conjoint_oops(const HeapWord* from, HeapWord* to, size_t
#endif // AMD64
}
#endif // OS_CPU_BSD_X86_COPY_BSD_X86_INLINE_HPP
#endif // OS_CPU_BSD_X86_COPY_BSD_X86_HPP

View File

@ -23,8 +23,8 @@
*
*/
#ifndef OS_CPU_LINUX_AARCH64_COPY_LINUX_AARCH64_INLINE_HPP
#define OS_CPU_LINUX_AARCH64_COPY_LINUX_AARCH64_INLINE_HPP
#ifndef OS_CPU_LINUX_AARCH64_COPY_LINUX_AARCH64_HPP
#define OS_CPU_LINUX_AARCH64_COPY_LINUX_AARCH64_HPP
#define COPY_SMALL(from, to, count) \
{ \
@ -185,4 +185,4 @@ static void pd_arrayof_conjoint_oops(const HeapWord* from, HeapWord* to, size_t
_Copy_arrayof_conjoint_jlongs(from, to, count);
}
#endif // OS_CPU_LINUX_AARCH64_COPY_LINUX_AARCH64_INLINE_HPP
#endif // OS_CPU_LINUX_AARCH64_COPY_LINUX_AARCH64_HPP

View File

@ -22,8 +22,8 @@
*
*/
#ifndef OS_CPU_LINUX_ARM_COPY_LINUX_ARM_INLINE_HPP
#define OS_CPU_LINUX_ARM_COPY_LINUX_ARM_INLINE_HPP
#ifndef OS_CPU_LINUX_ARM_COPY_LINUX_ARM_HPP
#define OS_CPU_LINUX_ARM_COPY_LINUX_ARM_HPP
static void pd_conjoint_words(const HeapWord* from, HeapWord* to, size_t count) {
_Copy_conjoint_words(from, to, count * HeapWordSize);
@ -92,4 +92,4 @@ static void pd_arrayof_conjoint_oops(const HeapWord* from, HeapWord* to, size_t
pd_conjoint_oops_atomic((const oop*)from, (oop*)to, count);
}
#endif // OS_CPU_LINUX_ARM_COPY_LINUX_ARM_INLINE_HPP
#endif // OS_CPU_LINUX_ARM_COPY_LINUX_ARM_HPP

View File

@ -22,8 +22,8 @@
*
*/
#ifndef OS_CPU_LINUX_X86_COPY_LINUX_X86_INLINE_HPP
#define OS_CPU_LINUX_X86_COPY_LINUX_X86_INLINE_HPP
#ifndef OS_CPU_LINUX_X86_COPY_LINUX_X86_HPP
#define OS_CPU_LINUX_X86_COPY_LINUX_X86_HPP
static void pd_conjoint_words(const HeapWord* from, HeapWord* to, size_t count) {
#ifdef AMD64
@ -306,4 +306,4 @@ static void pd_arrayof_conjoint_oops(const HeapWord* from, HeapWord* to, size_t
#endif // AMD64
}
#endif // OS_CPU_LINUX_X86_COPY_LINUX_X86_INLINE_HPP
#endif // OS_CPU_LINUX_X86_COPY_LINUX_X86_HPP

View File

@ -22,8 +22,8 @@
*
*/
#ifndef OS_CPU_WINDOWS_AARCH64_COPY_WINDOWS_AARCH64_INLINE_HPP
#define OS_CPU_WINDOWS_AARCH64_COPY_WINDOWS_AARCH64_INLINE_HPP
#ifndef OS_CPU_WINDOWS_AARCH64_COPY_WINDOWS_AARCH64_HPP
#define OS_CPU_WINDOWS_AARCH64_COPY_WINDOWS_AARCH64_HPP
#include <string.h>
@ -155,4 +155,4 @@ static void pd_arrayof_conjoint_oops(const HeapWord* from, HeapWord* to, size_t
pd_conjoint_oops_atomic((const oop*)from, (oop*)to, count);
}
#endif // OS_CPU_WINDOWS_AARCH64_COPY_WINDOWS_AARCH64_INLINE_HPP
#endif // OS_CPU_WINDOWS_AARCH64_COPY_WINDOWS_AARCH64_HPP

View File

@ -22,8 +22,8 @@
*
*/
#ifndef OS_CPU_WINDOWS_X86_COPY_WINDOWS_X86_INLINE_HPP
#define OS_CPU_WINDOWS_X86_COPY_WINDOWS_X86_INLINE_HPP
#ifndef OS_CPU_WINDOWS_X86_COPY_WINDOWS_X86_HPP
#define OS_CPU_WINDOWS_X86_COPY_WINDOWS_X86_HPP
static void pd_conjoint_words(const HeapWord* from, HeapWord* to, size_t count) {
(void)memmove(to, from, count * HeapWordSize);
@ -190,4 +190,4 @@ static void pd_arrayof_conjoint_oops(const HeapWord* from, HeapWord* to, size_t
pd_conjoint_oops_atomic((const oop*)from, (oop*)to, count);
}
#endif // OS_CPU_WINDOWS_X86_COPY_WINDOWS_X86_INLINE_HPP
#endif // OS_CPU_WINDOWS_X86_COPY_WINDOWS_X86_HPP