src/share/vm/oops/oopsHierarchy.hpp
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1997, 2009, 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
--- 1,7 ----
/*
! * 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
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*** 20,29 ****
--- 20,35 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
+ #ifndef SHARE_VM_OOPS_OOPSHIERARCHY_HPP
+ #define SHARE_VM_OOPS_OOPSHIERARCHY_HPP
+
+ #include "runtime/globals.hpp"
+ #include "utilities/globalDefinitions.hpp"
+
// OBJECT hierarchy
// This hierarchy is a representation hierarchy, i.e. if A is a superclass
// of B, A's representation is a prefix of B's representation.
typedef juint narrowOop; // Offset instead of address for an oop within a java object
*** 184,188 ****
--- 190,196 ----
class typeArrayKlass;
class constantPoolKlass;
class constantPoolCacheKlass;
class symbolKlass;
class compiledICHolderKlass;
+
+ #endif // SHARE_VM_OOPS_OOPSHIERARCHY_HPP