< prev index next >

src/hotspot/share/utilities/globalDefinitions.hpp

Print this page

  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_UTILITIES_GLOBALDEFINITIONS_HPP
  26 #define SHARE_UTILITIES_GLOBALDEFINITIONS_HPP
  27 
  28 #include "utilities/compilerWarnings.hpp"
  29 #include "utilities/debug.hpp"
  30 #include "utilities/macros.hpp"
  31 
  32 // Get constants like JVM_T_CHAR and JVM_SIGNATURE_INT, before pulling in <jvm.h>.
  33 #include "classfile_constants.h"
  34 
  35 #include COMPILER_HEADER(utilities/globalDefinitions)

  36 
  37 #include <cstddef>
  38 
  39 class oopDesc;
  40 
  41 // Defaults for macros that might be defined per compiler.
  42 #ifndef NOINLINE
  43 #define NOINLINE
  44 #endif
  45 #ifndef ALWAYSINLINE
  46 #define ALWAYSINLINE inline
  47 #endif
  48 
  49 #ifndef ATTRIBUTE_ALIGNED
  50 #define ATTRIBUTE_ALIGNED(x)
  51 #endif
  52 
  53 #ifndef ATTRIBUTE_FLATTEN
  54 #define ATTRIBUTE_FLATTEN
  55 #endif

  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_UTILITIES_GLOBALDEFINITIONS_HPP
  26 #define SHARE_UTILITIES_GLOBALDEFINITIONS_HPP
  27 
  28 #include "utilities/compilerWarnings.hpp"
  29 #include "utilities/debug.hpp"
  30 #include "utilities/macros.hpp"
  31 
  32 // Get constants like JVM_T_CHAR and JVM_SIGNATURE_INT, before pulling in <jvm.h>.
  33 #include "classfile_constants.h"
  34 
  35 #include COMPILER_HEADER(utilities/globalDefinitions)
  36 #include "utilities/globalDefinitions_vecApi.hpp"
  37 
  38 #include <cstddef>
  39 
  40 class oopDesc;
  41 
  42 // Defaults for macros that might be defined per compiler.
  43 #ifndef NOINLINE
  44 #define NOINLINE
  45 #endif
  46 #ifndef ALWAYSINLINE
  47 #define ALWAYSINLINE inline
  48 #endif
  49 
  50 #ifndef ATTRIBUTE_ALIGNED
  51 #define ATTRIBUTE_ALIGNED(x)
  52 #endif
  53 
  54 #ifndef ATTRIBUTE_FLATTEN
  55 #define ATTRIBUTE_FLATTEN
  56 #endif
< prev index next >