aboutsummaryrefslogtreecommitdiff
path: root/src/share/vm/gc_interface/gcCause.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/vm/gc_interface/gcCause.hpp')
-rw-r--r--src/share/vm/gc_interface/gcCause.hpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/share/vm/gc_interface/gcCause.hpp b/src/share/vm/gc_interface/gcCause.hpp
index 6734afcb7..af40d9893 100644
--- a/src/share/vm/gc_interface/gcCause.hpp
+++ b/src/share/vm/gc_interface/gcCause.hpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2002, 2009, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2002, 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,11 @@
*
*/
+#ifndef SHARE_VM_GC_INTERFACE_GCCAUSE_HPP
+#define SHARE_VM_GC_INTERFACE_GCCAUSE_HPP
+
+#include "memory/allocation.hpp"
+
//
// This class exposes implementation details of the various
// collector(s), and we need to be very careful with it. If
@@ -83,3 +88,5 @@ class GCCause : public AllStatic {
// Return true if the GCCause is for a full collection.
static bool is_for_full_collection(GCCause::Cause cause) PRODUCT_RETURN0;
};
+
+#endif // SHARE_VM_GC_INTERFACE_GCCAUSE_HPP