< prev index next >

src/hotspot/share/opto/arraycopynode.hpp

Print this page
rev 52432 : imported patch 8213464_missing_include.patch


   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef SHARE_VM_OPTO_ARRAYCOPYNODE_HPP
  26 #define SHARE_VM_OPTO_ARRAYCOPYNODE_HPP
  27 

  28 #include "opto/callnode.hpp"
  29 
  30 class GraphKit;
  31 
  32 class ArrayCopyNode : public CallNode {
  33 private:
  34 
  35   // What kind of arraycopy variant is this?
  36   enum {
  37     None,            // not set yet
  38     ArrayCopy,       // System.arraycopy()
  39     CloneBasic,      // A clone that can be copied by 64 bit chunks
  40     CloneOop,        // An oop array clone
  41     CopyOf,          // Arrays.copyOf()
  42     CopyOfRange      // Arrays.copyOfRange()
  43   } _kind;
  44 
  45 #ifndef PRODUCT
  46   static const char* _kind_names[CopyOfRange+1];
  47 #endif




   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  *
  23  */
  24 
  25 #ifndef SHARE_VM_OPTO_ARRAYCOPYNODE_HPP
  26 #define SHARE_VM_OPTO_ARRAYCOPYNODE_HPP
  27 
  28 #include "gc/shared/c2/barrierSetC2.hpp"
  29 #include "opto/callnode.hpp"
  30 
  31 class GraphKit;
  32 
  33 class ArrayCopyNode : public CallNode {
  34 private:
  35 
  36   // What kind of arraycopy variant is this?
  37   enum {
  38     None,            // not set yet
  39     ArrayCopy,       // System.arraycopy()
  40     CloneBasic,      // A clone that can be copied by 64 bit chunks
  41     CloneOop,        // An oop array clone
  42     CopyOf,          // Arrays.copyOf()
  43     CopyOfRange      // Arrays.copyOfRange()
  44   } _kind;
  45 
  46 #ifndef PRODUCT
  47   static const char* _kind_names[CopyOfRange+1];
  48 #endif


< prev index next >