annotate src/share/vm/graal/vmStructs_graal.hpp @ 13098:d61687130412

move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
author twisti
date Wed, 20 Nov 2013 16:55:54 -0800
parents
children c0b0974dd509
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13098
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
1 /*
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
2 * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
4 *
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
5 * This code is free software; you can redistribute it and/or modify it
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
6 * under the terms of the GNU General Public License version 2 only, as
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
7 * published by the Free Software Foundation.
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
8 *
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
9 * This code is distributed in the hope that it will be useful, but WITHOUT
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
12 * version 2 for more details (a copy is included in the LICENSE file that
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
13 * accompanied this code).
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
14 *
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
15 * You should have received a copy of the GNU General Public License version
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
16 * 2 along with this work; if not, write to the Free Software Foundation,
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
18 *
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
20 * or visit www.oracle.com if you need additional information or have any
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
21 * questions.
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
22 *
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
23 */
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
24
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
25 #ifndef SHARE_VM_GRAAL_VMSTRUCTS_GRAAL_HPP
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
26 #define SHARE_VM_GRAAL_VMSTRUCTS_GRAAL_HPP
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
27
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
28 #include "compiler/abstractCompiler.hpp"
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
29
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
30 #define VM_STRUCTS_GRAAL(nonstatic_field, static_field) \
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
31 \
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
32 static_field(java_lang_Class, _graal_mirror_offset, int) \
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
33 \
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
34 nonstatic_field(CompilerStatistics, _standard, CompilerStatistics::Data) \
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
35 nonstatic_field(CompilerStatistics, _osr, CompilerStatistics::Data) \
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
36 nonstatic_field(CompilerStatistics, _nmethods_size, int) \
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
37 nonstatic_field(CompilerStatistics, _nmethods_code_size, int) \
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
38 nonstatic_field(CompilerStatistics::Data, _bytes, int) \
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
39 nonstatic_field(CompilerStatistics::Data, _count, int) \
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
40 nonstatic_field(CompilerStatistics::Data, _time, elapsedTimer) \
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
41
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
42
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
43 #define VM_TYPES_GRAAL(declare_type, declare_toplevel_type) \
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
44 \
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
45 declare_toplevel_type(CompilerStatistics) \
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
46 declare_toplevel_type(CompilerStatistics::Data) \
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
47
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
48
d61687130412 move GRAAL_ONLY stuff from vmStructs.cpp to separate vmStructs_graal.hpp file
twisti
parents:
diff changeset
49 #endif // SHARE_VM_GRAAL_VMSTRUCTS_GRAAL_HPP