Mercurial > hg > truffle
diff src/share/vm/oops/typeArrayOop.hpp @ 1972:f95d63e2154a
6989984: Use standard include model for Hospot
Summary: Replaced MakeDeps and the includeDB files with more standardized solutions.
Reviewed-by: coleenp, kvn, kamg
author | stefank |
---|---|
date | Tue, 23 Nov 2010 13:22:55 -0800 |
parents | c18cbe5936b8 |
children | b92c45f2bc75 |
line wrap: on
line diff
--- a/src/share/vm/oops/typeArrayOop.hpp Tue Nov 23 15:01:43 2010 -0500 +++ b/src/share/vm/oops/typeArrayOop.hpp Tue Nov 23 13:22:55 2010 -0800 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2007, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -22,6 +22,30 @@ * */ +#ifndef SHARE_VM_OOPS_TYPEARRAYOOP_HPP +#define SHARE_VM_OOPS_TYPEARRAYOOP_HPP + +#include "oops/arrayOop.hpp" +#include "oops/typeArrayKlass.hpp" +#ifdef TARGET_OS_ARCH_linux_x86 +# include "orderAccess_linux_x86.inline.hpp" +#endif +#ifdef TARGET_OS_ARCH_linux_sparc +# include "orderAccess_linux_sparc.inline.hpp" +#endif +#ifdef TARGET_OS_ARCH_linux_zero +# include "orderAccess_linux_zero.inline.hpp" +#endif +#ifdef TARGET_OS_ARCH_solaris_x86 +# include "orderAccess_solaris_x86.inline.hpp" +#endif +#ifdef TARGET_OS_ARCH_solaris_sparc +# include "orderAccess_solaris_sparc.inline.hpp" +#endif +#ifdef TARGET_OS_ARCH_windows_x86 +# include "orderAccess_windows_x86.inline.hpp" +#endif + // A typeArrayOop is an array containing basic types (non oop elements). // It is used for arrays of {characters, singles, doubles, bytes, shorts, integers, longs} #include <limits.h> @@ -141,3 +165,5 @@ return object_size(tk->layout_helper(), length()); } }; + +#endif // SHARE_VM_OOPS_TYPEARRAYOOP_HPP