src/share/vm/oops/cpCacheOop.hpp
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1998, 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) 1998, 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,37 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
+ #ifndef SHARE_VM_OOPS_CPCACHEOOP_HPP
+ #define SHARE_VM_OOPS_CPCACHEOOP_HPP
+
+ #include "interpreter/bytecodes.hpp"
+ #include "memory/allocation.hpp"
+ #include "oops/arrayOop.hpp"
+ #include "utilities/array.hpp"
+
// A ConstantPoolCacheEntry describes an individual entry of the constant
// pool cache. There's 2 principal kinds of entries: field entries for in-
// stance & static field access, and method entries for invokes. Some of
// the entry layout is shared and looks as follows:
//
*** 401,405 ****
--- 409,415 ----
// printed the klass name so that other routines in the adjust_*
// group don't print the klass name.
void adjust_method_entries(methodOop* old_methods, methodOop* new_methods,
int methods_length, bool * trace_name_printed);
};
+
+ #endif // SHARE_VM_OOPS_CPCACHEOOP_HPP