1.1 --- a/src/share/vm/interpreter/invocationCounter.hpp Tue Nov 23 15:01:43 2010 -0500 1.2 +++ b/src/share/vm/interpreter/invocationCounter.hpp Tue Nov 23 13:22:55 2010 -0800 1.3 @@ -22,6 +22,13 @@ 1.4 * 1.5 */ 1.6 1.7 +#ifndef SHARE_VM_INTERPRETER_INVOCATIONCOUNTER_HPP 1.8 +#define SHARE_VM_INTERPRETER_INVOCATIONCOUNTER_HPP 1.9 + 1.10 +#include "memory/allocation.hpp" 1.11 +#include "runtime/handles.hpp" 1.12 +#include "utilities/exceptions.hpp" 1.13 + 1.14 // InvocationCounters are used to trigger actions when a limit (threshold) is reached. 1.15 // For different states, different limits and actions can be defined in the initialization 1.16 // routine of InvocationCounters. 1.17 @@ -134,3 +141,5 @@ 1.18 set(state(), new_count); 1.19 } 1.20 1.21 + 1.22 +#endif // SHARE_VM_INTERPRETER_INVOCATIONCOUNTER_HPP