author | duke |
Wed, 05 Jul 2017 20:10:48 +0200 | |
changeset 27963 | 88d7c7c376e9 |
parent 13728 | 882756847a04 |
child 35479 | 62c12ca7a45e |
permissions | -rw-r--r-- |
4013 | 1 |
/* |
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
7397
diff
changeset
|
2 |
* Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. |
4013 | 3 |
* Copyright 2008 Red Hat, Inc. |
4 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
|
5 |
* |
|
6 |
* This code is free software; you can redistribute it and/or modify it |
|
7 |
* under the terms of the GNU General Public License version 2 only, as |
|
8 |
* published by the Free Software Foundation. |
|
9 |
* |
|
10 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
|
11 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
12 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
13 |
* version 2 for more details (a copy is included in the LICENSE file that |
|
14 |
* accompanied this code). |
|
15 |
* |
|
16 |
* You should have received a copy of the GNU General Public License version |
|
17 |
* 2 along with this work; if not, write to the Free Software Foundation, |
|
18 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
19 |
* |
|
5547
f4b087cbb361
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
4013
diff
changeset
|
20 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
f4b087cbb361
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
4013
diff
changeset
|
21 |
* or visit www.oracle.com if you need additional information or have any |
f4b087cbb361
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
4013
diff
changeset
|
22 |
* questions. |
4013 | 23 |
* |
24 |
*/ |
|
25 |
||
7397 | 26 |
#include "precompiled.hpp" |
27 |
#include "asm/assembler.hpp" |
|
28 |
#include "interp_masm_zero.hpp" |
|
29 |
#include "interpreter/bytecodeInterpreter.hpp" |
|
30 |
#include "interpreter/bytecodeInterpreter.inline.hpp" |
|
31 |
#include "interpreter/interpreter.hpp" |
|
32 |
#include "interpreter/interpreterRuntime.hpp" |
|
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
7397
diff
changeset
|
33 |
#include "oops/methodData.hpp" |
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
7397
diff
changeset
|
34 |
#include "oops/method.hpp" |
7397 | 35 |
#include "oops/oop.inline.hpp" |
36 |
#include "prims/jvmtiExport.hpp" |
|
37 |
#include "prims/jvmtiThreadState.hpp" |
|
38 |
#include "runtime/deoptimization.hpp" |
|
39 |
#include "runtime/frame.inline.hpp" |
|
40 |
#include "runtime/sharedRuntime.hpp" |
|
41 |
#include "runtime/stubRoutines.hpp" |
|
42 |
#include "runtime/synchronizer.hpp" |
|
43 |
#include "runtime/vframeArray.hpp" |
|
44 |
#include "utilities/debug.hpp" |
|
4013 | 45 |
|
46 |
#ifdef CC_INTERP |
|
47 |
||
48 |
const char *BytecodeInterpreter::name_of_field_at_address(address addr) { |
|
49 |
#define DO(member) {if (addr == (address) &(member)) return XSTR(member);} |
|
50 |
DO(_thread); |
|
51 |
DO(_bcp); |
|
52 |
DO(_locals); |
|
53 |
DO(_constants); |
|
54 |
DO(_method); |
|
55 |
DO(_mdx); |
|
56 |
DO(_stack); |
|
57 |
DO(_msg); |
|
58 |
DO(_result); |
|
59 |
DO(_prev_link); |
|
60 |
DO(_oop_temp); |
|
61 |
DO(_stack_base); |
|
62 |
DO(_stack_limit); |
|
63 |
DO(_monitor_base); |
|
64 |
DO(_self_link); |
|
65 |
#undef DO |
|
66 |
if (addr > (address) &_result && addr < (address) (&_result + 1)) |
|
67 |
return "_result)"; |
|
68 |
return NULL; |
|
69 |
} |
|
70 |
||
71 |
#endif // CC_INTERP |