aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/utilities/events.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/vm/utilities/events.hpp')
-rw-r--r--src/share/vm/utilities/events.hpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/share/vm/utilities/events.hpp b/src/share/vm/utilities/events.hpp
index fb4e9fa4b..6a50643da 100644
--- a/src/share/vm/utilities/events.hpp
+++ b/src/share/vm/utilities/events.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 1997, 2003, 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,12 @@
*
*/
+#ifndef SHARE_VM_UTILITIES_EVENTS_HPP
+#define SHARE_VM_UTILITIES_EVENTS_HPP
+
+#include "memory/allocation.hpp"
+#include "utilities/top.hpp"
+
// Events and EventMark provide interfaces to log events taking place in the vm.
// This facility is extremly useful for post-mortem debugging. The eventlog
// often provides crucial information about events leading up to the crash.
@@ -62,3 +68,5 @@ class EventMark : public StackObj {
};
int print_all_events(outputStream *st);
+
+#endif // SHARE_VM_UTILITIES_EVENTS_HPP