Fri, 05 Oct 2012 18:57:10 -0700
7177003: C1: LogCompilation support
Summary: add LogCompilation support in C1 - both client and tiered mode.
Reviewed-by: twisti, kvn
kamg@2515 | 1 | /* |
kamg@2515 | 2 | * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. |
kamg@2515 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
kamg@2515 | 4 | * |
kamg@2515 | 5 | * This code is free software; you can redistribute it and/or modify it |
kamg@2515 | 6 | * under the terms of the GNU General Public License version 2 only, as |
kamg@2515 | 7 | * published by the Free Software Foundation. |
kamg@2515 | 8 | * |
kamg@2515 | 9 | * This code is distributed in the hope that it will be useful, but WITHOUT |
kamg@2515 | 10 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
kamg@2515 | 11 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
kamg@2515 | 12 | * version 2 for more details (a copy is included in the LICENSE file that |
kamg@2515 | 13 | * accompanied this code). |
kamg@2515 | 14 | * |
kamg@2515 | 15 | * You should have received a copy of the GNU General Public License version |
kamg@2515 | 16 | * 2 along with this work; if not, write to the Free Software Foundation, |
kamg@2515 | 17 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
kamg@2515 | 18 | * |
kamg@2515 | 19 | * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
kamg@2515 | 20 | * or visit www.oracle.com if you need additional information or have any |
kamg@2515 | 21 | * questions. |
kamg@2515 | 22 | * |
kamg@2515 | 23 | */ |
kamg@2515 | 24 | |
kamg@2515 | 25 | #ifndef SHARE_VM_UTILITIES_ERRORREPORTER_HPP |
kamg@2515 | 26 | #define SHARE_VM_UTILITIES_ERRORREPORTER_HPP |
kamg@2515 | 27 | |
kamg@2515 | 28 | #include "utilities/globalDefinitions.hpp" |
coleenp@2531 | 29 | #include "memory/allocation.hpp" |
kamg@2515 | 30 | |
kamg@2515 | 31 | class ErrorReporter : public StackObj { |
kamg@2515 | 32 | |
kamg@2515 | 33 | public: |
kamg@2515 | 34 | ErrorReporter(); |
kamg@2515 | 35 | ~ErrorReporter(){}; |
kamg@2515 | 36 | |
kamg@2515 | 37 | void call(FILE* fd, char *buffer, int length); |
kamg@2515 | 38 | }; |
kamg@2515 | 39 | |
kamg@2515 | 40 | #endif // ndef SHARE_VM_UTILITIES_ERRORREPORTER_HPP |