--- old/src/share/vm/oops/klass.hpp 2010-11-10 13:15:14.000000000 +0100 +++ new/src/share/vm/oops/klass.hpp 2010-11-10 13:15:14.000000000 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1997, 2009, 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,24 @@ * */ +#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 @@ -792,3 +810,5 @@ void verify_vtable_index(int index); #endif }; + +#endif // SHARE_VM_OOPS_KLASS_HPP