src/share/vm/oops/klass.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,47 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
+ #ifndef SHARE_VM_OOPS_KLASS_HPP
+ #define SHARE_VM_OOPS_KLASS_HPP
+
+ #include "memory/genOopClosures.hpp"
+ #include "memory/iterator.hpp"
+ #include "memory/memRegion.hpp"
+ #include "memory/specialized_oop_closures.hpp"
+ #include "oops/klassOop.hpp"
+ #include "oops/klassPS.hpp"
+ #include "oops/oop.hpp"
+ #include "runtime/orderAccess.hpp"
+ #include "utilities/accessFlags.hpp"
+ #ifndef SERIALGC
+ #include "gc_implementation/concurrentMarkSweep/cmsOopClosures.hpp"
+ #include "gc_implementation/g1/g1OopClosures.hpp"
+ #include "gc_implementation/parNew/parOopClosures.hpp"
+ #endif
+
// A Klass is the part of the klassOop that provides:
// 1: language level class object (method dictionary etc.)
// 2: provide vm dispatch behavior for the object
// Both functions are combined into one C++ class. The toplevel class "Klass"
// implements purpose 1 whereas all subclasses provide extra virtual functions
*** 790,794 ****
--- 808,814 ----
#ifndef PRODUCT
void verify_vtable_index(int index);
#endif
};
+
+ #endif // SHARE_VM_OOPS_KLASS_HPP