src/hotspot/cpu/s390/copy_s390.hpp
changeset 53244 9807daeb47c4
parent 48956 400f4d17a3c6
equal deleted inserted replaced
53243:8bea4144b21c 53244:9807daeb47c4
     1 /*
     1 /*
     2  * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2016, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * Copyright (c) 2016 SAP SE. All rights reserved.
     3  * Copyright (c) 2016 SAP SE. All rights reserved.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     5  *
     5  *
     6  * This code is free software; you can redistribute it and/or modify it
     6  * This code is free software; you can redistribute it and/or modify it
     7  * under the terms of the GNU General Public License version 2 only, as
     7  * under the terms of the GNU General Public License version 2 only, as
    23  *
    23  *
    24  */
    24  */
    25 
    25 
    26 // Major contributions by LS
    26 // Major contributions by LS
    27 
    27 
    28 #ifndef CPU_S390_VM_COPY_S390_HPP
    28 #ifndef CPU_S390_COPY_S390_HPP
    29 #define CPU_S390_VM_COPY_S390_HPP
    29 #define CPU_S390_COPY_S390_HPP
    30 
    30 
    31 // Inline functions for memory copy and fill.
    31 // Inline functions for memory copy and fill.
    32 
    32 
    33 // HeapWordSize (the size of class HeapWord) is 8 Bytes (the size of a
    33 // HeapWordSize (the size of class HeapWord) is 8 Bytes (the size of a
    34 // pointer variable), since we always run the _LP64 model. As a consequence,
    34 // pointer variable), since we always run the _LP64 model. As a consequence,
  1129   // is done using MVCLE -> slight advantage for large areas.
  1129   // is done using MVCLE -> slight advantage for large areas.
  1130   (void)memset(to, 0, count);
  1130   (void)memset(to, 0, count);
  1131 #endif
  1131 #endif
  1132 }
  1132 }
  1133 
  1133 
  1134 #endif // CPU_S390_VM_COPY_S390_HPP
  1134 #endif // CPU_S390_COPY_S390_HPP