src/share/vm/utilities/events.hpp

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1997, 2003, 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) 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 20,29 **** --- 20,35 ---- * or visit www.oracle.com if you need additional information or have any * questions. * */ + #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. // // All arguments past the format string must be passed as an intptr_t.
*** 60,64 **** --- 66,72 ---- // log an end event ~EventMark() PRODUCT_RETURN; }; int print_all_events(outputStream *st); + + #endif // SHARE_VM_UTILITIES_EVENTS_HPP