src/share/vm/oops/constMethodKlass.hpp
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2003, 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) 2003, 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,36 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
+ #ifndef SHARE_VM_OOPS_CONSTMETHODKLASS_HPP
+ #define SHARE_VM_OOPS_CONSTMETHODKLASS_HPP
+
+ #include "oops/klass.hpp"
+ #include "oops/oop.hpp"
+ #include "runtime/orderAccess.hpp"
+
// A constMethodKlass is the klass of a constMethodOop
class constMethodKlass : public Klass {
friend class VMStructs;
private:
*** 85,89 ****
--- 92,98 ----
const char* internal_name() const;
void oop_verify_on(oop obj, outputStream* st);
bool oop_partially_loaded(oop obj) const;
void oop_set_partially_loaded(oop obj);
};
+
+ #endif // SHARE_VM_OOPS_CONSTMETHODKLASS_HPP