--- old/src/share/vm/oops/cpCacheOop.hpp 2010-11-16 18:15:41.000000000 +0100 +++ new/src/share/vm/oops/cpCacheOop.hpp 2010-11-16 18:15:40.000000000 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2009, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -22,6 +22,14 @@ * */ +#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 @@ -403,3 +411,5 @@ void adjust_method_entries(methodOop* old_methods, methodOop* new_methods, int methods_length, bool * trace_name_printed); }; + +#endif // SHARE_VM_OOPS_CPCACHEOOP_HPP