equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
53 #include "runtime/virtualspace.hpp" |
53 #include "runtime/virtualspace.hpp" |
54 #include "runtime/vmStructs.hpp" |
54 #include "runtime/vmStructs.hpp" |
55 #include "utilities/accessFlags.hpp" |
55 #include "utilities/accessFlags.hpp" |
56 #include "utilities/globalDefinitions.hpp" |
56 #include "utilities/globalDefinitions.hpp" |
57 #ifdef COMPILER1 |
57 #ifdef COMPILER1 |
58 #if defined(DEBUG) || defined(FASTDEBUG) |
58 #ifdef ASSERT |
59 |
59 |
60 /* |
60 /* |
61 * To avoid the most part of potential link errors |
61 * To avoid the most part of potential link errors |
62 * we link this program with -z nodefs . |
62 * we link this program with -z nodefs . |
63 * |
63 * |
64 * But for 'debug1' and 'fastdebug1' we still have to provide |
64 * But for 'debug1' and 'fastdebug1' we still have to provide |
65 * a particular workaround for the following symbols bellow. |
65 * a particular workaround for the following symbols below. |
66 * It will be good to find out a generic way in the future. |
66 * It will be good to find out a generic way in the future. |
67 */ |
67 */ |
68 |
68 |
69 #pragma weak tty |
69 #pragma weak tty |
70 #pragma weak CMSExpAvgFactor |
70 #pragma weak CMSExpAvgFactor |
77 |
77 |
78 address StubRoutines::_call_stub_return_address = NULL; |
78 address StubRoutines::_call_stub_return_address = NULL; |
79 |
79 |
80 StubQueue* AbstractInterpreter::_code = NULL; |
80 StubQueue* AbstractInterpreter::_code = NULL; |
81 |
81 |
82 #endif /* defined(DEBUG) || defined(FASTDEBUG) */ |
82 #endif /* ASSERT */ |
83 #endif /* COMPILER1 */ |
83 #endif /* COMPILER1 */ |
84 |
84 |
85 #define GEN_OFFS(Type,Name) \ |
85 #define GEN_OFFS(Type,Name) \ |
86 switch(gen_variant) { \ |
86 switch(gen_variant) { \ |
87 case GEN_OFFSET: \ |
87 case GEN_OFFSET: \ |