author | prr |
Thu, 16 Mar 2017 09:50:59 -0700 | |
changeset 44307 | 8f905d7d01d8 |
parent 43453 | a2097d148d0e |
child 43939 | 39f5b59549de |
permissions | -rw-r--r-- |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
1 |
/* |
35899 | 2 |
* Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved. |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
4 |
* |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
5 |
* This code is free software; you can redistribute it and/or modify it |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
7 |
* published by the Free Software Foundation. |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
8 |
* |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
13 |
* accompanied this code). |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
14 |
* |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
15 |
* You should have received a copy of the GNU General Public License version |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
18 |
* |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
20 |
* or visit www.oracle.com if you need additional information or have any |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
21 |
* questions. |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
22 |
* |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
23 |
*/ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
24 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
25 |
#include "precompiled.hpp" |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
26 |
#include "code/codeBlob.hpp" |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
27 |
#include "compiler/abstractCompiler.hpp" |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
28 |
#include "compiler/compileBroker.hpp" |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
29 |
#include "jvmci/jvmciCodeInstaller.hpp" |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
30 |
#include "jvmci/jvmciCompilerToVM.hpp" |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
31 |
#include "jvmci/jvmciEnv.hpp" |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
32 |
#include "jvmci/jvmciRuntime.hpp" |
42650 | 33 |
#include "jvmci/vmStructs_compiler_runtime.hpp" |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
34 |
#include "jvmci/vmStructs_jvmci.hpp" |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
35 |
#include "oops/oop.hpp" |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
36 |
#include "oops/objArrayKlass.hpp" |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
37 |
#include "runtime/globals.hpp" |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
38 |
#include "runtime/sharedRuntime.hpp" |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
39 |
#include "runtime/thread.hpp" |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
40 |
#include "runtime/vm_version.hpp" |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
41 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
42 |
#if INCLUDE_ALL_GCS |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
43 |
#include "gc/g1/g1SATBCardTableModRefBS.hpp" |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
44 |
#include "gc/g1/heapRegion.hpp" |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
45 |
#endif |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
46 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
47 |
#define VM_STRUCTS(nonstatic_field, static_field, unchecked_nonstatic_field, volatile_nonstatic_field) \ |
35899 | 48 |
static_field(CompilerToVM::Data, Klass_vtable_start_offset, int) \ |
49 |
static_field(CompilerToVM::Data, Klass_vtable_length_offset, int) \ |
|
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
50 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
51 |
static_field(CompilerToVM::Data, Method_extra_stack_entries, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
52 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
53 |
static_field(CompilerToVM::Data, SharedRuntime_ic_miss_stub, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
54 |
static_field(CompilerToVM::Data, SharedRuntime_handle_wrong_method_stub, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
55 |
static_field(CompilerToVM::Data, SharedRuntime_deopt_blob_unpack, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
56 |
static_field(CompilerToVM::Data, SharedRuntime_deopt_blob_uncommon_trap, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
57 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
58 |
static_field(CompilerToVM::Data, ThreadLocalAllocBuffer_alignment_reserve, size_t) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
59 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
60 |
static_field(CompilerToVM::Data, Universe_collectedHeap, CollectedHeap*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
61 |
static_field(CompilerToVM::Data, Universe_base_vtable_size, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
62 |
static_field(CompilerToVM::Data, Universe_narrow_oop_base, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
63 |
static_field(CompilerToVM::Data, Universe_narrow_oop_shift, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
64 |
static_field(CompilerToVM::Data, Universe_narrow_klass_base, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
65 |
static_field(CompilerToVM::Data, Universe_narrow_klass_shift, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
66 |
static_field(CompilerToVM::Data, Universe_non_oop_bits, void*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
67 |
static_field(CompilerToVM::Data, Universe_verify_oop_mask, uintptr_t) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
68 |
static_field(CompilerToVM::Data, Universe_verify_oop_bits, uintptr_t) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
69 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
70 |
static_field(CompilerToVM::Data, _supports_inline_contig_alloc, bool) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
71 |
static_field(CompilerToVM::Data, _heap_end_addr, HeapWord**) \ |
41283
2615c024f3eb
8033552: Fix missing missing volatile specifiers in CAS operations in GC code
eosterlund
parents:
40878
diff
changeset
|
72 |
static_field(CompilerToVM::Data, _heap_top_addr, HeapWord* volatile*) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
73 |
\ |
39441
7464b1552bf7
8158850: [JVMCI] be more precise when enforcing OopMapValue encoding limitations
never
parents:
39423
diff
changeset
|
74 |
static_field(CompilerToVM::Data, _max_oop_map_stack_offset, int) \ |
7464b1552bf7
8158850: [JVMCI] be more precise when enforcing OopMapValue encoding limitations
never
parents:
39423
diff
changeset
|
75 |
\ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
76 |
static_field(CompilerToVM::Data, cardtable_start_address, jbyte*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
77 |
static_field(CompilerToVM::Data, cardtable_shift, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
78 |
\ |
35593
c733fd198e6e
8146424: runtime/ReservedStack/ReservedStackTest.java triggers: assert(thread->deopt_mark() == __null) failed: no stack overflow from deopt blob/uncommon trap
never
parents:
35148
diff
changeset
|
79 |
static_field(CompilerToVM::Data, vm_page_size, int) \ |
c733fd198e6e
8146424: runtime/ReservedStack/ReservedStackTest.java triggers: assert(thread->deopt_mark() == __null) failed: no stack overflow from deopt blob/uncommon trap
never
parents:
35148
diff
changeset
|
80 |
\ |
38283
4fb93f7c26fe
8156178: [JVMCI] expose StubRoutines trig functions
never
parents:
38231
diff
changeset
|
81 |
static_field(CompilerToVM::Data, dsin, address) \ |
4fb93f7c26fe
8156178: [JVMCI] expose StubRoutines trig functions
never
parents:
38231
diff
changeset
|
82 |
static_field(CompilerToVM::Data, dcos, address) \ |
4fb93f7c26fe
8156178: [JVMCI] expose StubRoutines trig functions
never
parents:
38231
diff
changeset
|
83 |
static_field(CompilerToVM::Data, dtan, address) \ |
4fb93f7c26fe
8156178: [JVMCI] expose StubRoutines trig functions
never
parents:
38231
diff
changeset
|
84 |
static_field(CompilerToVM::Data, dexp, address) \ |
4fb93f7c26fe
8156178: [JVMCI] expose StubRoutines trig functions
never
parents:
38231
diff
changeset
|
85 |
static_field(CompilerToVM::Data, dlog, address) \ |
4fb93f7c26fe
8156178: [JVMCI] expose StubRoutines trig functions
never
parents:
38231
diff
changeset
|
86 |
static_field(CompilerToVM::Data, dlog10, address) \ |
4fb93f7c26fe
8156178: [JVMCI] expose StubRoutines trig functions
never
parents:
38231
diff
changeset
|
87 |
static_field(CompilerToVM::Data, dpow, address) \ |
4fb93f7c26fe
8156178: [JVMCI] expose StubRoutines trig functions
never
parents:
38231
diff
changeset
|
88 |
\ |
35148 | 89 |
static_field(Abstract_VM_Version, _features, uint64_t) \ |
90 |
\ |
|
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
91 |
nonstatic_field(Array<int>, _length, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
92 |
unchecked_nonstatic_field(Array<u1>, _data, sizeof(u1)) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
93 |
unchecked_nonstatic_field(Array<u2>, _data, sizeof(u2)) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
94 |
nonstatic_field(Array<Klass*>, _length, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
95 |
nonstatic_field(Array<Klass*>, _data[0], Klass*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
96 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
97 |
volatile_nonstatic_field(BasicLock, _displaced_header, markOop) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
98 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
99 |
static_field(CodeCache, _low_bound, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
100 |
static_field(CodeCache, _high_bound, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
101 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
102 |
nonstatic_field(CollectedHeap, _total_collections, unsigned int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
103 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
104 |
nonstatic_field(CompileTask, _num_inlined_bytecodes, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
105 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
106 |
nonstatic_field(ConstantPool, _tags, Array<u1>*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
107 |
nonstatic_field(ConstantPool, _pool_holder, InstanceKlass*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
108 |
nonstatic_field(ConstantPool, _length, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
109 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
110 |
nonstatic_field(ConstMethod, _constants, ConstantPool*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
111 |
nonstatic_field(ConstMethod, _flags, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
112 |
nonstatic_field(ConstMethod, _code_size, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
113 |
nonstatic_field(ConstMethod, _name_index, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
114 |
nonstatic_field(ConstMethod, _signature_index, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
115 |
nonstatic_field(ConstMethod, _max_stack, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
116 |
nonstatic_field(ConstMethod, _max_locals, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
117 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
118 |
nonstatic_field(DataLayout, _header._struct._tag, u1) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
119 |
nonstatic_field(DataLayout, _header._struct._flags, u1) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
120 |
nonstatic_field(DataLayout, _header._struct._bci, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
121 |
nonstatic_field(DataLayout, _cells[0], intptr_t) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
122 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
123 |
nonstatic_field(Deoptimization::UnrollBlock, _size_of_deoptimized_frame, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
124 |
nonstatic_field(Deoptimization::UnrollBlock, _caller_adjustment, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
125 |
nonstatic_field(Deoptimization::UnrollBlock, _number_of_frames, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
126 |
nonstatic_field(Deoptimization::UnrollBlock, _total_frame_sizes, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
127 |
nonstatic_field(Deoptimization::UnrollBlock, _frame_sizes, intptr_t*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
128 |
nonstatic_field(Deoptimization::UnrollBlock, _frame_pcs, address*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
129 |
nonstatic_field(Deoptimization::UnrollBlock, _initial_info, intptr_t) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
130 |
nonstatic_field(Deoptimization::UnrollBlock, _unpack_kind, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
131 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
132 |
nonstatic_field(ExceptionTableElement, start_pc, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
133 |
nonstatic_field(ExceptionTableElement, end_pc, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
134 |
nonstatic_field(ExceptionTableElement, handler_pc, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
135 |
nonstatic_field(ExceptionTableElement, catch_type_index, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
136 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
137 |
nonstatic_field(Flag, _type, const char*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
138 |
nonstatic_field(Flag, _name, const char*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
139 |
unchecked_nonstatic_field(Flag, _addr, sizeof(void*)) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
140 |
nonstatic_field(Flag, _flags, Flag::Flags) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
141 |
static_field(Flag, flags, Flag*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
142 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
143 |
nonstatic_field(InstanceKlass, _fields, Array<u2>*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
144 |
nonstatic_field(InstanceKlass, _constants, ConstantPool*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
145 |
nonstatic_field(InstanceKlass, _source_file_name_index, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
146 |
nonstatic_field(InstanceKlass, _init_state, u1) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
147 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
148 |
volatile_nonstatic_field(JavaFrameAnchor, _last_Java_sp, intptr_t*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
149 |
volatile_nonstatic_field(JavaFrameAnchor, _last_Java_pc, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
150 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
151 |
nonstatic_field(JavaThread, _threadObj, oop) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
152 |
nonstatic_field(JavaThread, _anchor, JavaFrameAnchor) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
153 |
nonstatic_field(JavaThread, _vm_result, oop) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
154 |
volatile_nonstatic_field(JavaThread, _exception_oop, oop) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
155 |
volatile_nonstatic_field(JavaThread, _exception_pc, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
156 |
volatile_nonstatic_field(JavaThread, _is_method_handle_return, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
157 |
nonstatic_field(JavaThread, _osthread, OSThread*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
158 |
nonstatic_field(JavaThread, _satb_mark_queue, SATBMarkQueue) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
159 |
nonstatic_field(JavaThread, _dirty_card_queue, DirtyCardQueue) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
160 |
nonstatic_field(JavaThread, _pending_deoptimization, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
161 |
nonstatic_field(JavaThread, _pending_failed_speculation, oop) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
162 |
nonstatic_field(JavaThread, _pending_transfer_to_interpreter, bool) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
163 |
nonstatic_field(JavaThread, _jvmci_counters, jlong*) \ |
36080
3bde85c47627
8150075: [JVMCI] expose reserved stack machinery and Inline flag in HotSpotVMConfig
never
parents:
35913
diff
changeset
|
164 |
nonstatic_field(JavaThread, _reserved_stack_activation, address) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
165 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
166 |
static_field(java_lang_Class, _klass_offset, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
167 |
static_field(java_lang_Class, _array_klass_offset, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
168 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
169 |
nonstatic_field(JVMCIEnv, _task, CompileTask*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
170 |
nonstatic_field(JVMCIEnv, _jvmti_can_hotswap_or_post_breakpoint, bool) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
171 |
\ |
41684 | 172 |
nonstatic_field(InvocationCounter, _counter, unsigned int) \ |
173 |
\ |
|
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
174 |
nonstatic_field(Klass, _secondary_super_cache, Klass*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
175 |
nonstatic_field(Klass, _secondary_supers, Array<Klass*>*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
176 |
nonstatic_field(Klass, _super, Klass*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
177 |
nonstatic_field(Klass, _super_check_offset, juint) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
178 |
nonstatic_field(Klass, _subklass, Klass*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
179 |
nonstatic_field(Klass, _layout_helper, jint) \ |
36842
8f0d0faa51e2
8152634: generalize exception throwing routines in JVMCIRuntime
rschatz
parents:
36555
diff
changeset
|
180 |
nonstatic_field(Klass, _name, Symbol*) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
181 |
nonstatic_field(Klass, _prototype_header, markOop) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
182 |
nonstatic_field(Klass, _next_sibling, Klass*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
183 |
nonstatic_field(Klass, _java_mirror, oop) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
184 |
nonstatic_field(Klass, _modifier_flags, jint) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
185 |
nonstatic_field(Klass, _access_flags, AccessFlags) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
186 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
187 |
nonstatic_field(LocalVariableTableElement, start_bci, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
188 |
nonstatic_field(LocalVariableTableElement, length, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
189 |
nonstatic_field(LocalVariableTableElement, name_cp_index, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
190 |
nonstatic_field(LocalVariableTableElement, descriptor_cp_index, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
191 |
nonstatic_field(LocalVariableTableElement, signature_cp_index, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
192 |
nonstatic_field(LocalVariableTableElement, slot, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
193 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
194 |
nonstatic_field(Method, _constMethod, ConstMethod*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
195 |
nonstatic_field(Method, _method_data, MethodData*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
196 |
nonstatic_field(Method, _method_counters, MethodCounters*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
197 |
nonstatic_field(Method, _access_flags, AccessFlags) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
198 |
nonstatic_field(Method, _vtable_index, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
199 |
nonstatic_field(Method, _intrinsic_id, u2) \ |
35137
c8f8f6de68a7
8144704: [JVMCI] add tests for simple code installation
rschatz
parents:
35133
diff
changeset
|
200 |
nonstatic_field(Method, _flags, u2) \ |
38133
78b95467b9f1
8151956: Support non-continuous CodeBlobs in HotSpot
rbackman
parents:
36842
diff
changeset
|
201 |
volatile_nonstatic_field(Method, _code, CompiledMethod*) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
202 |
volatile_nonstatic_field(Method, _from_compiled_entry, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
203 |
\ |
41684 | 204 |
nonstatic_field(MethodCounters, _nmethod_age, int) \ |
205 |
nonstatic_field(MethodCounters, _interpreter_invocation_limit, int) \ |
|
206 |
nonstatic_field(MethodCounters, _interpreter_backward_branch_limit, int) \ |
|
207 |
nonstatic_field(MethodCounters, _interpreter_profile_limit, int) \ |
|
208 |
nonstatic_field(MethodCounters, _invoke_mask, int) \ |
|
209 |
nonstatic_field(MethodCounters, _backedge_mask, int) \ |
|
210 |
nonstatic_field(MethodCounters, _interpreter_invocation_count, int) \ |
|
211 |
nonstatic_field(MethodCounters, _interpreter_throwout_count, u2) \ |
|
212 |
JVMTI_ONLY(nonstatic_field(MethodCounters, _number_of_breakpoints, u2)) \ |
|
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
213 |
nonstatic_field(MethodCounters, _invocation_counter, InvocationCounter) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
214 |
nonstatic_field(MethodCounters, _backedge_counter, InvocationCounter) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
215 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
216 |
nonstatic_field(MethodData, _size, int) \ |
41684 | 217 |
nonstatic_field(MethodData, _method, Method*) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
218 |
nonstatic_field(MethodData, _data_size, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
219 |
nonstatic_field(MethodData, _data[0], intptr_t) \ |
41684 | 220 |
nonstatic_field(MethodData, _parameters_type_data_di, int) \ |
221 |
nonstatic_field(MethodData, _nof_decompiles, uint) \ |
|
222 |
nonstatic_field(MethodData, _nof_overflow_recompiles, uint) \ |
|
223 |
nonstatic_field(MethodData, _nof_overflow_traps, uint) \ |
|
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
224 |
nonstatic_field(MethodData, _trap_hist._array[0], u1) \ |
41684 | 225 |
nonstatic_field(MethodData, _eflags, intx) \ |
226 |
nonstatic_field(MethodData, _arg_local, intx) \ |
|
227 |
nonstatic_field(MethodData, _arg_stack, intx) \ |
|
228 |
nonstatic_field(MethodData, _arg_returned, intx) \ |
|
229 |
nonstatic_field(MethodData, _tenure_traps, uint) \ |
|
230 |
nonstatic_field(MethodData, _invoke_mask, int) \ |
|
231 |
nonstatic_field(MethodData, _backedge_mask, int) \ |
|
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
232 |
nonstatic_field(MethodData, _jvmci_ir_size, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
233 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
234 |
nonstatic_field(nmethod, _verified_entry_point, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
235 |
nonstatic_field(nmethod, _comp_level, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
236 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
237 |
nonstatic_field(ObjArrayKlass, _element_klass, Klass*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
238 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
239 |
volatile_nonstatic_field(oopDesc, _mark, markOop) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
240 |
volatile_nonstatic_field(oopDesc, _metadata._klass, Klass*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
241 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
242 |
static_field(os, _polling_page, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
243 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
244 |
volatile_nonstatic_field(OSThread, _interrupted, jint) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
245 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
246 |
static_field(StubRoutines, _verify_oop_count, jint) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
247 |
\ |
36080
3bde85c47627
8150075: [JVMCI] expose reserved stack machinery and Inline flag in HotSpotVMConfig
never
parents:
35913
diff
changeset
|
248 |
static_field(StubRoutines, _throw_delayed_StackOverflowError_entry, address) \ |
3bde85c47627
8150075: [JVMCI] expose reserved stack machinery and Inline flag in HotSpotVMConfig
never
parents:
35913
diff
changeset
|
249 |
\ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
250 |
static_field(StubRoutines, _jbyte_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
251 |
static_field(StubRoutines, _jshort_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
252 |
static_field(StubRoutines, _jint_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
253 |
static_field(StubRoutines, _jlong_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
254 |
static_field(StubRoutines, _oop_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
255 |
static_field(StubRoutines, _oop_arraycopy_uninit, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
256 |
static_field(StubRoutines, _jbyte_disjoint_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
257 |
static_field(StubRoutines, _jshort_disjoint_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
258 |
static_field(StubRoutines, _jint_disjoint_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
259 |
static_field(StubRoutines, _jlong_disjoint_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
260 |
static_field(StubRoutines, _oop_disjoint_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
261 |
static_field(StubRoutines, _oop_disjoint_arraycopy_uninit, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
262 |
static_field(StubRoutines, _arrayof_jbyte_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
263 |
static_field(StubRoutines, _arrayof_jshort_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
264 |
static_field(StubRoutines, _arrayof_jint_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
265 |
static_field(StubRoutines, _arrayof_jlong_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
266 |
static_field(StubRoutines, _arrayof_oop_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
267 |
static_field(StubRoutines, _arrayof_oop_arraycopy_uninit, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
268 |
static_field(StubRoutines, _arrayof_jbyte_disjoint_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
269 |
static_field(StubRoutines, _arrayof_jshort_disjoint_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
270 |
static_field(StubRoutines, _arrayof_jint_disjoint_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
271 |
static_field(StubRoutines, _arrayof_jlong_disjoint_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
272 |
static_field(StubRoutines, _arrayof_oop_disjoint_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
273 |
static_field(StubRoutines, _arrayof_oop_disjoint_arraycopy_uninit, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
274 |
static_field(StubRoutines, _checkcast_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
275 |
static_field(StubRoutines, _checkcast_arraycopy_uninit, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
276 |
static_field(StubRoutines, _unsafe_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
277 |
static_field(StubRoutines, _generic_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
278 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
279 |
static_field(StubRoutines, _aescrypt_encryptBlock, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
280 |
static_field(StubRoutines, _aescrypt_decryptBlock, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
281 |
static_field(StubRoutines, _cipherBlockChaining_encryptAESCrypt, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
282 |
static_field(StubRoutines, _cipherBlockChaining_decryptAESCrypt, address) \ |
42554
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
283 |
static_field(StubRoutines, _counterMode_AESCrypt, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
284 |
static_field(StubRoutines, _ghash_processBlocks, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
285 |
static_field(StubRoutines, _sha1_implCompress, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
286 |
static_field(StubRoutines, _sha1_implCompressMB, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
287 |
static_field(StubRoutines, _sha256_implCompress, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
288 |
static_field(StubRoutines, _sha256_implCompressMB, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
289 |
static_field(StubRoutines, _sha512_implCompress, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
290 |
static_field(StubRoutines, _sha512_implCompressMB, address) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
291 |
static_field(StubRoutines, _updateBytesCRC32, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
292 |
static_field(StubRoutines, _crc_table_adr, address) \ |
42554
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
293 |
static_field(StubRoutines, _crc32c_table_addr, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
294 |
static_field(StubRoutines, _updateBytesCRC32C, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
295 |
static_field(StubRoutines, _updateBytesAdler32, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
296 |
static_field(StubRoutines, _multiplyToLen, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
297 |
static_field(StubRoutines, _squareToLen, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
298 |
static_field(StubRoutines, _mulAdd, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
299 |
static_field(StubRoutines, _montgomeryMultiply, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
300 |
static_field(StubRoutines, _montgomerySquare, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
301 |
static_field(StubRoutines, _vectorizedMismatch, address) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
302 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
303 |
nonstatic_field(Thread, _tlab, ThreadLocalAllocBuffer) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
304 |
nonstatic_field(Thread, _allocated_bytes, jlong) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
305 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
306 |
nonstatic_field(ThreadLocalAllocBuffer, _start, HeapWord*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
307 |
nonstatic_field(ThreadLocalAllocBuffer, _top, HeapWord*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
308 |
nonstatic_field(ThreadLocalAllocBuffer, _end, HeapWord*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
309 |
nonstatic_field(ThreadLocalAllocBuffer, _pf_top, HeapWord*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
310 |
nonstatic_field(ThreadLocalAllocBuffer, _desired_size, size_t) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
311 |
nonstatic_field(ThreadLocalAllocBuffer, _refill_waste_limit, size_t) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
312 |
nonstatic_field(ThreadLocalAllocBuffer, _number_of_refills, unsigned) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
313 |
nonstatic_field(ThreadLocalAllocBuffer, _fast_refill_waste, unsigned) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
314 |
nonstatic_field(ThreadLocalAllocBuffer, _slow_allocations, unsigned) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
315 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
316 |
nonstatic_field(ThreadShadow, _pending_exception, oop) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
317 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
318 |
static_field(vmSymbols, _symbols[0], Symbol*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
319 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
320 |
nonstatic_field(vtableEntry, _method, Method*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
321 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
322 |
#define VM_TYPES(declare_type, declare_toplevel_type, declare_integer_type, declare_unsigned_integer_type) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
323 |
declare_integer_type(bool) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
324 |
declare_unsigned_integer_type(size_t) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
325 |
declare_integer_type(intx) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
326 |
declare_unsigned_integer_type(uintx) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
327 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
328 |
declare_toplevel_type(BasicLock) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
329 |
declare_toplevel_type(CompilerToVM) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
330 |
declare_toplevel_type(ExceptionTableElement) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
331 |
declare_toplevel_type(Flag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
332 |
declare_toplevel_type(Flag*) \ |
41684 | 333 |
declare_toplevel_type(InvocationCounter) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
334 |
declare_toplevel_type(JVMCIEnv) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
335 |
declare_toplevel_type(LocalVariableTableElement) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
336 |
declare_toplevel_type(narrowKlass) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
337 |
declare_toplevel_type(Symbol*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
338 |
declare_toplevel_type(vtableEntry) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
339 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
340 |
declare_toplevel_type(oopDesc) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
341 |
declare_type(arrayOopDesc, oopDesc) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
342 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
343 |
declare_toplevel_type(MetaspaceObj) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
344 |
declare_type(Metadata, MetaspaceObj) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
345 |
declare_type(Klass, Metadata) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
346 |
declare_type(InstanceKlass, Klass) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
347 |
declare_type(ConstantPool, Metadata) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
348 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
349 |
#define VM_INT_CONSTANTS(declare_constant, declare_constant_with_value, declare_preprocessor_constant) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
350 |
declare_preprocessor_constant("ASSERT", DEBUG_ONLY(1) NOT_DEBUG(0)) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
351 |
declare_preprocessor_constant("FIELDINFO_TAG_SIZE", FIELDINFO_TAG_SIZE) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
352 |
declare_preprocessor_constant("STACK_BIAS", STACK_BIAS) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
353 |
\ |
38666
5ff19807abd5
8152311: [JVMCI] allow JVMCI compiler to change the compilation policy for a method
dnsimon
parents:
38283
diff
changeset
|
354 |
declare_constant(CompLevel_none) \ |
5ff19807abd5
8152311: [JVMCI] allow JVMCI compiler to change the compilation policy for a method
dnsimon
parents:
38283
diff
changeset
|
355 |
declare_constant(CompLevel_simple) \ |
5ff19807abd5
8152311: [JVMCI] allow JVMCI compiler to change the compilation policy for a method
dnsimon
parents:
38283
diff
changeset
|
356 |
declare_constant(CompLevel_limited_profile) \ |
5ff19807abd5
8152311: [JVMCI] allow JVMCI compiler to change the compilation policy for a method
dnsimon
parents:
38283
diff
changeset
|
357 |
declare_constant(CompLevel_full_profile) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
358 |
declare_constant(CompLevel_full_optimization) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
359 |
declare_constant(HeapWordSize) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
360 |
declare_constant(InvocationEntryBci) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
361 |
declare_constant(LogKlassAlignmentInBytes) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
362 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
363 |
declare_constant(JVM_ACC_WRITTEN_FLAGS) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
364 |
declare_constant(JVM_ACC_MONITOR_MATCH) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
365 |
declare_constant(JVM_ACC_HAS_MONITOR_BYTECODES) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
366 |
declare_constant(JVM_ACC_HAS_FINALIZER) \ |
38231 | 367 |
declare_constant(JVM_ACC_IS_CLONEABLE_FAST) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
368 |
declare_constant(JVM_ACC_FIELD_INTERNAL) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
369 |
declare_constant(JVM_ACC_FIELD_STABLE) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
370 |
declare_constant(JVM_ACC_FIELD_HAS_GENERIC_SIGNATURE) \ |
41325 | 371 |
declare_preprocessor_constant("JVM_ACC_VARARGS", JVM_ACC_VARARGS) \ |
372 |
declare_preprocessor_constant("JVM_ACC_BRIDGE", JVM_ACC_BRIDGE) \ |
|
373 |
declare_preprocessor_constant("JVM_ACC_ANNOTATION", JVM_ACC_ANNOTATION) \ |
|
374 |
declare_preprocessor_constant("JVM_ACC_ENUM", JVM_ACC_ENUM) \ |
|
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
375 |
declare_preprocessor_constant("JVM_ACC_SYNTHETIC", JVM_ACC_SYNTHETIC) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
376 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
377 |
declare_constant(JVM_CONSTANT_Utf8) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
378 |
declare_constant(JVM_CONSTANT_Unicode) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
379 |
declare_constant(JVM_CONSTANT_Integer) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
380 |
declare_constant(JVM_CONSTANT_Float) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
381 |
declare_constant(JVM_CONSTANT_Long) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
382 |
declare_constant(JVM_CONSTANT_Double) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
383 |
declare_constant(JVM_CONSTANT_Class) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
384 |
declare_constant(JVM_CONSTANT_String) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
385 |
declare_constant(JVM_CONSTANT_Fieldref) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
386 |
declare_constant(JVM_CONSTANT_Methodref) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
387 |
declare_constant(JVM_CONSTANT_InterfaceMethodref) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
388 |
declare_constant(JVM_CONSTANT_NameAndType) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
389 |
declare_constant(JVM_CONSTANT_MethodHandle) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
390 |
declare_constant(JVM_CONSTANT_MethodType) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
391 |
declare_constant(JVM_CONSTANT_InvokeDynamic) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
392 |
declare_constant(JVM_CONSTANT_ExternalMax) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
393 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
394 |
declare_constant(JVM_CONSTANT_Invalid) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
395 |
declare_constant(JVM_CONSTANT_InternalMin) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
396 |
declare_constant(JVM_CONSTANT_UnresolvedClass) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
397 |
declare_constant(JVM_CONSTANT_ClassIndex) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
398 |
declare_constant(JVM_CONSTANT_StringIndex) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
399 |
declare_constant(JVM_CONSTANT_UnresolvedClassInError) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
400 |
declare_constant(JVM_CONSTANT_MethodHandleInError) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
401 |
declare_constant(JVM_CONSTANT_MethodTypeInError) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
402 |
declare_constant(JVM_CONSTANT_InternalMax) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
403 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
404 |
declare_constant(ArrayData::array_len_off_set) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
405 |
declare_constant(ArrayData::array_start_off_set) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
406 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
407 |
declare_constant(BitData::exception_seen_flag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
408 |
declare_constant(BitData::null_seen_flag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
409 |
declare_constant(BranchData::not_taken_off_set) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
410 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
411 |
declare_constant_with_value("CardTableModRefBS::dirty_card", CardTableModRefBS::dirty_card_val()) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
412 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
413 |
declare_constant(CodeInstaller::VERIFIED_ENTRY) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
414 |
declare_constant(CodeInstaller::UNVERIFIED_ENTRY) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
415 |
declare_constant(CodeInstaller::OSR_ENTRY) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
416 |
declare_constant(CodeInstaller::EXCEPTION_HANDLER_ENTRY) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
417 |
declare_constant(CodeInstaller::DEOPT_HANDLER_ENTRY) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
418 |
declare_constant(CodeInstaller::INVOKEINTERFACE) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
419 |
declare_constant(CodeInstaller::INVOKEVIRTUAL) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
420 |
declare_constant(CodeInstaller::INVOKESTATIC) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
421 |
declare_constant(CodeInstaller::INVOKESPECIAL) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
422 |
declare_constant(CodeInstaller::INLINE_INVOKE) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
423 |
declare_constant(CodeInstaller::POLL_NEAR) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
424 |
declare_constant(CodeInstaller::POLL_RETURN_NEAR) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
425 |
declare_constant(CodeInstaller::POLL_FAR) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
426 |
declare_constant(CodeInstaller::POLL_RETURN_FAR) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
427 |
declare_constant(CodeInstaller::CARD_TABLE_SHIFT) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
428 |
declare_constant(CodeInstaller::CARD_TABLE_ADDRESS) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
429 |
declare_constant(CodeInstaller::HEAP_TOP_ADDRESS) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
430 |
declare_constant(CodeInstaller::HEAP_END_ADDRESS) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
431 |
declare_constant(CodeInstaller::NARROW_KLASS_BASE_ADDRESS) \ |
43435 | 432 |
declare_constant(CodeInstaller::NARROW_OOP_BASE_ADDRESS) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
433 |
declare_constant(CodeInstaller::CRC_TABLE_ADDRESS) \ |
42650 | 434 |
declare_constant(CodeInstaller::LOG_OF_HEAP_REGION_GRAIN_BYTES) \ |
435 |
declare_constant(CodeInstaller::INLINE_CONTIGUOUS_ALLOCATION_SUPPORTED) \ |
|
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
436 |
declare_constant(CodeInstaller::INVOKE_INVALID) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
437 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
438 |
declare_constant(ConstantPool::CPCACHE_INDEX_TAG) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
439 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
440 |
declare_constant(ConstMethod::_has_linenumber_table) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
441 |
declare_constant(ConstMethod::_has_localvariable_table) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
442 |
declare_constant(ConstMethod::_has_exception_table) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
443 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
444 |
declare_constant(CounterData::count_off) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
445 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
446 |
declare_constant(DataLayout::cell_size) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
447 |
declare_constant(DataLayout::no_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
448 |
declare_constant(DataLayout::bit_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
449 |
declare_constant(DataLayout::counter_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
450 |
declare_constant(DataLayout::jump_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
451 |
declare_constant(DataLayout::receiver_type_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
452 |
declare_constant(DataLayout::virtual_call_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
453 |
declare_constant(DataLayout::ret_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
454 |
declare_constant(DataLayout::branch_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
455 |
declare_constant(DataLayout::multi_branch_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
456 |
declare_constant(DataLayout::arg_info_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
457 |
declare_constant(DataLayout::call_type_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
458 |
declare_constant(DataLayout::virtual_call_type_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
459 |
declare_constant(DataLayout::parameters_type_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
460 |
declare_constant(DataLayout::speculative_trap_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
461 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
462 |
declare_constant(Deoptimization::Unpack_deopt) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
463 |
declare_constant(Deoptimization::Unpack_exception) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
464 |
declare_constant(Deoptimization::Unpack_uncommon_trap) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
465 |
declare_constant(Deoptimization::Unpack_reexecute) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
466 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
467 |
declare_constant(Deoptimization::_action_bits) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
468 |
declare_constant(Deoptimization::_reason_bits) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
469 |
declare_constant(Deoptimization::_debug_id_bits) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
470 |
declare_constant(Deoptimization::_action_shift) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
471 |
declare_constant(Deoptimization::_reason_shift) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
472 |
declare_constant(Deoptimization::_debug_id_shift) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
473 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
474 |
declare_constant(Deoptimization::Action_none) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
475 |
declare_constant(Deoptimization::Action_maybe_recompile) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
476 |
declare_constant(Deoptimization::Action_reinterpret) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
477 |
declare_constant(Deoptimization::Action_make_not_entrant) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
478 |
declare_constant(Deoptimization::Action_make_not_compilable) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
479 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
480 |
declare_constant(Deoptimization::Reason_none) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
481 |
declare_constant(Deoptimization::Reason_null_check) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
482 |
declare_constant(Deoptimization::Reason_range_check) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
483 |
declare_constant(Deoptimization::Reason_class_check) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
484 |
declare_constant(Deoptimization::Reason_array_check) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
485 |
declare_constant(Deoptimization::Reason_unreached0) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
486 |
declare_constant(Deoptimization::Reason_constraint) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
487 |
declare_constant(Deoptimization::Reason_div0_check) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
488 |
declare_constant(Deoptimization::Reason_loop_limit_check) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
489 |
declare_constant(Deoptimization::Reason_type_checked_inlining) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
490 |
declare_constant(Deoptimization::Reason_optimized_type_check) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
491 |
declare_constant(Deoptimization::Reason_aliasing) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
492 |
declare_constant(Deoptimization::Reason_transfer_to_interpreter) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
493 |
declare_constant(Deoptimization::Reason_not_compiled_exception_handler) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
494 |
declare_constant(Deoptimization::Reason_unresolved) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
495 |
declare_constant(Deoptimization::Reason_jsr_mismatch) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
496 |
declare_constant(Deoptimization::Reason_LIMIT) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
497 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
498 |
declare_constant_with_value("dirtyCardQueueBufferOffset", in_bytes(DirtyCardQueue::byte_offset_of_buf())) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
499 |
declare_constant_with_value("dirtyCardQueueIndexOffset", in_bytes(DirtyCardQueue::byte_offset_of_index())) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
500 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
501 |
declare_constant(FieldInfo::access_flags_offset) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
502 |
declare_constant(FieldInfo::name_index_offset) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
503 |
declare_constant(FieldInfo::signature_index_offset) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
504 |
declare_constant(FieldInfo::initval_index_offset) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
505 |
declare_constant(FieldInfo::low_packed_offset) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
506 |
declare_constant(FieldInfo::high_packed_offset) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
507 |
declare_constant(FieldInfo::field_slots) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
508 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
509 |
declare_constant(InstanceKlass::linked) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
510 |
declare_constant(InstanceKlass::fully_initialized) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
511 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
512 |
declare_constant(JumpData::taken_off_set) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
513 |
declare_constant(JumpData::displacement_off_set) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
514 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
515 |
declare_constant(JVMCIEnv::ok) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
516 |
declare_constant(JVMCIEnv::dependencies_failed) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
517 |
declare_constant(JVMCIEnv::dependencies_invalid) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
518 |
declare_constant(JVMCIEnv::cache_full) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
519 |
declare_constant(JVMCIEnv::code_too_large) \ |
38666
5ff19807abd5
8152311: [JVMCI] allow JVMCI compiler to change the compilation policy for a method
dnsimon
parents:
38283
diff
changeset
|
520 |
declare_constant(JVMCIRuntime::none) \ |
5ff19807abd5
8152311: [JVMCI] allow JVMCI compiler to change the compilation policy for a method
dnsimon
parents:
38283
diff
changeset
|
521 |
declare_constant(JVMCIRuntime::by_holder) \ |
5ff19807abd5
8152311: [JVMCI] allow JVMCI compiler to change the compilation policy for a method
dnsimon
parents:
38283
diff
changeset
|
522 |
declare_constant(JVMCIRuntime::by_full_signature) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
523 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
524 |
declare_constant(Klass::_lh_neutral_value) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
525 |
declare_constant(Klass::_lh_instance_slow_path_bit) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
526 |
declare_constant(Klass::_lh_log2_element_size_shift) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
527 |
declare_constant(Klass::_lh_log2_element_size_mask) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
528 |
declare_constant(Klass::_lh_element_type_shift) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
529 |
declare_constant(Klass::_lh_element_type_mask) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
530 |
declare_constant(Klass::_lh_header_size_shift) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
531 |
declare_constant(Klass::_lh_header_size_mask) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
532 |
declare_constant(Klass::_lh_array_tag_shift) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
533 |
declare_constant(Klass::_lh_array_tag_type_value) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
534 |
declare_constant(Klass::_lh_array_tag_obj_value) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
535 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
536 |
declare_constant(markOopDesc::no_hash) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
537 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
538 |
declare_constant(Method::_caller_sensitive) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
539 |
declare_constant(Method::_force_inline) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
540 |
declare_constant(Method::_dont_inline) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
541 |
declare_constant(Method::_hidden) \ |
40878
5d87104b10d5
8164358: [JVMCI] expose Hotspot intrinsics and HotSpotIntrinsicCandidate info to JVMCI
dnsimon
parents:
40093
diff
changeset
|
542 |
declare_constant(Method::_intrinsic_candidate) \ |
36080
3bde85c47627
8150075: [JVMCI] expose reserved stack machinery and Inline flag in HotSpotVMConfig
never
parents:
35913
diff
changeset
|
543 |
declare_constant(Method::_reserved_stack_access) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
544 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
545 |
declare_constant(Method::nonvirtual_vtable_index) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
546 |
declare_constant(Method::invalid_vtable_index) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
547 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
548 |
declare_constant(MultiBranchData::per_case_cell_count) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
549 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
550 |
declare_constant(ReceiverTypeData::nonprofiled_count_off_set) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
551 |
declare_constant(ReceiverTypeData::receiver_type_row_cell_count) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
552 |
declare_constant(ReceiverTypeData::receiver0_offset) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
553 |
declare_constant(ReceiverTypeData::count0_offset) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
554 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
555 |
declare_constant_with_value("satbMarkQueueBufferOffset", in_bytes(SATBMarkQueue::byte_offset_of_buf())) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
556 |
declare_constant_with_value("satbMarkQueueIndexOffset", in_bytes(SATBMarkQueue::byte_offset_of_index())) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
557 |
declare_constant_with_value("satbMarkQueueActiveOffset", in_bytes(SATBMarkQueue::byte_offset_of_active())) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
558 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
559 |
declare_constant(vmIntrinsics::_invokeBasic) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
560 |
declare_constant(vmIntrinsics::_linkToVirtual) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
561 |
declare_constant(vmIntrinsics::_linkToStatic) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
562 |
declare_constant(vmIntrinsics::_linkToSpecial) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
563 |
declare_constant(vmIntrinsics::_linkToInterface) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
564 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
565 |
declare_constant(vmSymbols::FIRST_SID) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
566 |
declare_constant(vmSymbols::SID_LIMIT) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
567 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
568 |
#define VM_LONG_CONSTANTS(declare_constant, declare_preprocessor_constant) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
569 |
declare_constant(InvocationCounter::count_increment) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
570 |
declare_constant(InvocationCounter::count_shift) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
571 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
572 |
declare_constant(markOopDesc::hash_shift) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
573 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
574 |
declare_constant(markOopDesc::biased_lock_mask_in_place) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
575 |
declare_constant(markOopDesc::age_mask_in_place) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
576 |
declare_constant(markOopDesc::epoch_mask_in_place) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
577 |
declare_constant(markOopDesc::hash_mask) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
578 |
declare_constant(markOopDesc::hash_mask_in_place) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
579 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
580 |
declare_constant(markOopDesc::unlocked_value) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
581 |
declare_constant(markOopDesc::biased_lock_pattern) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
582 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
583 |
declare_constant(markOopDesc::no_hash_in_place) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
584 |
declare_constant(markOopDesc::no_lock_in_place) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
585 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
586 |
#define VM_ADDRESSES(declare_address, declare_preprocessor_address, declare_function) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
587 |
declare_function(SharedRuntime::register_finalizer) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
588 |
declare_function(SharedRuntime::exception_handler_for_return_address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
589 |
declare_function(SharedRuntime::OSR_migration_end) \ |
36080
3bde85c47627
8150075: [JVMCI] expose reserved stack machinery and Inline flag in HotSpotVMConfig
never
parents:
35913
diff
changeset
|
590 |
declare_function(SharedRuntime::enable_stack_reserved_zone) \ |
39423
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
591 |
declare_function(SharedRuntime::frem) \ |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
592 |
declare_function(SharedRuntime::drem) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
593 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
594 |
declare_function(os::dll_load) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
595 |
declare_function(os::dll_lookup) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
596 |
declare_function(os::javaTimeMillis) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
597 |
declare_function(os::javaTimeNanos) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
598 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
599 |
declare_function(Deoptimization::fetch_unroll_info) \ |
40046
01e973266ee4
8159888: [JVMCI] the client VM build is broken when INCLUDE_JVMCI is defined
dnsimon
parents:
39441
diff
changeset
|
600 |
declare_function(Deoptimization::uncommon_trap) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
601 |
declare_function(Deoptimization::unpack_frames) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
602 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
603 |
declare_function(JVMCIRuntime::new_instance) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
604 |
declare_function(JVMCIRuntime::new_array) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
605 |
declare_function(JVMCIRuntime::new_multi_array) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
606 |
declare_function(JVMCIRuntime::dynamic_new_array) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
607 |
declare_function(JVMCIRuntime::dynamic_new_instance) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
608 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
609 |
declare_function(JVMCIRuntime::thread_is_interrupted) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
610 |
declare_function(JVMCIRuntime::vm_message) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
611 |
declare_function(JVMCIRuntime::identity_hash_code) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
612 |
declare_function(JVMCIRuntime::exception_handler_for_pc) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
613 |
declare_function(JVMCIRuntime::monitorenter) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
614 |
declare_function(JVMCIRuntime::monitorexit) \ |
36842
8f0d0faa51e2
8152634: generalize exception throwing routines in JVMCIRuntime
rschatz
parents:
36555
diff
changeset
|
615 |
declare_function(JVMCIRuntime::throw_and_post_jvmti_exception) \ |
8f0d0faa51e2
8152634: generalize exception throwing routines in JVMCIRuntime
rschatz
parents:
36555
diff
changeset
|
616 |
declare_function(JVMCIRuntime::throw_klass_external_name_exception) \ |
8f0d0faa51e2
8152634: generalize exception throwing routines in JVMCIRuntime
rschatz
parents:
36555
diff
changeset
|
617 |
declare_function(JVMCIRuntime::throw_class_cast_exception) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
618 |
declare_function(JVMCIRuntime::log_primitive) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
619 |
declare_function(JVMCIRuntime::log_object) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
620 |
declare_function(JVMCIRuntime::log_printf) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
621 |
declare_function(JVMCIRuntime::vm_error) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
622 |
declare_function(JVMCIRuntime::load_and_clear_exception) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
623 |
declare_function(JVMCIRuntime::write_barrier_pre) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
624 |
declare_function(JVMCIRuntime::write_barrier_post) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
625 |
declare_function(JVMCIRuntime::validate_object) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
626 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
627 |
declare_function(JVMCIRuntime::test_deoptimize_call_int) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
628 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
629 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
630 |
#if INCLUDE_ALL_GCS |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
631 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
632 |
#define VM_STRUCTS_G1(nonstatic_field, static_field) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
633 |
static_field(HeapRegion, LogOfHRGrainBytes, int) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
634 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
635 |
#define VM_INT_CONSTANTS_G1(declare_constant, declare_constant_with_value, declare_preprocessor_constant) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
636 |
declare_constant_with_value("G1SATBCardTableModRefBS::g1_young_gen", G1SATBCardTableModRefBS::g1_young_card_val()) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
637 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
638 |
#endif // INCLUDE_ALL_GCS |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
639 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
640 |
|
40010 | 641 |
#ifdef LINUX |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
642 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
643 |
#define VM_ADDRESSES_OS(declare_address, declare_preprocessor_address, declare_function) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
644 |
declare_preprocessor_address("RTLD_DEFAULT", RTLD_DEFAULT) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
645 |
|
40010 | 646 |
#endif |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
647 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
648 |
|
40010 | 649 |
#ifdef BSD |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
650 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
651 |
#define VM_ADDRESSES_OS(declare_address, declare_preprocessor_address, declare_function) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
652 |
declare_preprocessor_address("RTLD_DEFAULT", RTLD_DEFAULT) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
653 |
|
40010 | 654 |
#endif |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
655 |
|
40010 | 656 |
// AARCH64 is defined in closed port, too. TARGET_ARCH_aarch64 is not. |
36329 | 657 |
#ifdef TARGET_ARCH_aarch64 |
658 |
||
659 |
#define VM_STRUCTS_CPU(nonstatic_field, static_field, unchecked_nonstatic_field, volatile_nonstatic_field, nonproduct_nonstatic_field, c2_nonstatic_field, unchecked_c1_static_field, unchecked_c2_static_field) \ |
|
660 |
volatile_nonstatic_field(JavaFrameAnchor, _last_Java_fp, intptr_t*) |
|
661 |
||
40010 | 662 |
#endif |
36329 | 663 |
|
664 |
||
40010 | 665 |
#ifdef X86 |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
666 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
667 |
#define VM_STRUCTS_CPU(nonstatic_field, static_field, unchecked_nonstatic_field, volatile_nonstatic_field, nonproduct_nonstatic_field, c2_nonstatic_field, unchecked_c1_static_field, unchecked_c2_static_field) \ |
35148 | 668 |
volatile_nonstatic_field(JavaFrameAnchor, _last_Java_fp, intptr_t*) |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
669 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
670 |
#define VM_INT_CONSTANTS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
671 |
LP64_ONLY(declare_constant(frame::arg_reg_save_area_bytes)) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
672 |
declare_constant(frame::interpreter_frame_sender_sp_offset) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
673 |
declare_constant(frame::interpreter_frame_last_sp_offset) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
674 |
declare_constant(VM_Version::CPU_CX8) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
675 |
declare_constant(VM_Version::CPU_CMOV) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
676 |
declare_constant(VM_Version::CPU_FXSR) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
677 |
declare_constant(VM_Version::CPU_HT) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
678 |
declare_constant(VM_Version::CPU_MMX) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
679 |
declare_constant(VM_Version::CPU_3DNOW_PREFETCH) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
680 |
declare_constant(VM_Version::CPU_SSE) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
681 |
declare_constant(VM_Version::CPU_SSE2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
682 |
declare_constant(VM_Version::CPU_SSE3) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
683 |
declare_constant(VM_Version::CPU_SSSE3) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
684 |
declare_constant(VM_Version::CPU_SSE4A) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
685 |
declare_constant(VM_Version::CPU_SSE4_1) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
686 |
declare_constant(VM_Version::CPU_SSE4_2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
687 |
declare_constant(VM_Version::CPU_POPCNT) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
688 |
declare_constant(VM_Version::CPU_LZCNT) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
689 |
declare_constant(VM_Version::CPU_TSC) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
690 |
declare_constant(VM_Version::CPU_TSCINV) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
691 |
declare_constant(VM_Version::CPU_AVX) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
692 |
declare_constant(VM_Version::CPU_AVX2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
693 |
declare_constant(VM_Version::CPU_AES) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
694 |
declare_constant(VM_Version::CPU_ERMS) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
695 |
declare_constant(VM_Version::CPU_CLMUL) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
696 |
declare_constant(VM_Version::CPU_BMI1) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
697 |
declare_constant(VM_Version::CPU_BMI2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
698 |
declare_constant(VM_Version::CPU_RTM) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
699 |
declare_constant(VM_Version::CPU_ADX) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
700 |
declare_constant(VM_Version::CPU_AVX512F) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
701 |
declare_constant(VM_Version::CPU_AVX512DQ) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
702 |
declare_constant(VM_Version::CPU_AVX512PF) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
703 |
declare_constant(VM_Version::CPU_AVX512ER) \ |
36555 | 704 |
declare_constant(VM_Version::CPU_AVX512CD) |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
705 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
706 |
#define VM_LONG_CONSTANTS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant) \ |
36555 | 707 |
declare_preprocessor_constant("VM_Version::CPU_AVX512BW", CPU_AVX512BW) \ |
708 |
declare_preprocessor_constant("VM_Version::CPU_AVX512VL", CPU_AVX512VL) \ |
|
41323 | 709 |
declare_preprocessor_constant("VM_Version::CPU_SHA", CPU_SHA) \ |
710 |
declare_preprocessor_constant("VM_Version::CPU_FMA", CPU_FMA) |
|
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
711 |
|
40010 | 712 |
#endif |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
713 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
714 |
|
40010 | 715 |
#ifdef SPARC |
35133 | 716 |
|
717 |
#define VM_STRUCTS_CPU(nonstatic_field, static_field, unchecked_nonstatic_field, volatile_nonstatic_field, nonproduct_nonstatic_field, c2_nonstatic_field, unchecked_c1_static_field, unchecked_c2_static_field) \ |
|
35148 | 718 |
volatile_nonstatic_field(JavaFrameAnchor, _flags, int) |
35133 | 719 |
|
720 |
#define VM_INT_CONSTANTS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant) \ |
|
721 |
declare_constant(VM_Version::vis1_instructions_m) \ |
|
722 |
declare_constant(VM_Version::vis2_instructions_m) \ |
|
723 |
declare_constant(VM_Version::vis3_instructions_m) \ |
|
724 |
declare_constant(VM_Version::cbcond_instructions_m) \ |
|
725 |
declare_constant(VM_Version::v8_instructions_m) \ |
|
726 |
declare_constant(VM_Version::hardware_mul32_m) \ |
|
727 |
declare_constant(VM_Version::hardware_div32_m) \ |
|
728 |
declare_constant(VM_Version::hardware_fsmuld_m) \ |
|
729 |
declare_constant(VM_Version::hardware_popc_m) \ |
|
730 |
declare_constant(VM_Version::v9_instructions_m) \ |
|
731 |
declare_constant(VM_Version::sun4v_m) \ |
|
732 |
declare_constant(VM_Version::blk_init_instructions_m) \ |
|
733 |
declare_constant(VM_Version::fmaf_instructions_m) \ |
|
734 |
declare_constant(VM_Version::sparc64_family_m) \ |
|
735 |
declare_constant(VM_Version::M_family_m) \ |
|
736 |
declare_constant(VM_Version::T_family_m) \ |
|
737 |
declare_constant(VM_Version::T1_model_m) \ |
|
738 |
declare_constant(VM_Version::sparc5_instructions_m) \ |
|
739 |
declare_constant(VM_Version::aes_instructions_m) \ |
|
740 |
declare_constant(VM_Version::sha1_instruction_m) \ |
|
741 |
declare_constant(VM_Version::sha256_instruction_m) \ |
|
742 |
declare_constant(VM_Version::sha512_instruction_m) |
|
743 |
||
40010 | 744 |
#endif |
35133 | 745 |
|
746 |
||
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
747 |
/* |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
748 |
* Dummy defines for architectures that don't use these. |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
749 |
*/ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
750 |
#ifndef VM_STRUCTS_CPU |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
751 |
#define VM_STRUCTS_CPU(nonstatic_field, static_field, unchecked_nonstatic_field, volatile_nonstatic_field, nonproduct_nonstatic_field, c2_nonstatic_field, unchecked_c1_static_field, unchecked_c2_static_field) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
752 |
#endif |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
753 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
754 |
#ifndef VM_TYPES_CPU |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
755 |
#define VM_TYPES_CPU(declare_type, declare_toplevel_type, declare_oop_type, declare_integer_type, declare_unsigned_integer_type, declare_c1_toplevel_type, declare_c2_type, declare_c2_toplevel_type) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
756 |
#endif |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
757 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
758 |
#ifndef VM_INT_CONSTANTS_CPU |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
759 |
#define VM_INT_CONSTANTS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
760 |
#endif |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
761 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
762 |
#ifndef VM_LONG_CONSTANTS_CPU |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
763 |
#define VM_LONG_CONSTANTS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
764 |
#endif |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
765 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
766 |
#ifndef VM_STRUCTS_OS |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
767 |
#define VM_STRUCTS_OS(nonstatic_field, static_field, unchecked_nonstatic_field, volatile_nonstatic_field, nonproduct_nonstatic_field, c2_nonstatic_field, unchecked_c1_static_field, unchecked_c2_static_field) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
768 |
#endif |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
769 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
770 |
#ifndef VM_TYPES_OS |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
771 |
#define VM_TYPES_OS(declare_type, declare_toplevel_type, declare_oop_type, declare_integer_type, declare_unsigned_integer_type, declare_c1_toplevel_type, declare_c2_type, declare_c2_toplevel_type) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
772 |
#endif |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
773 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
774 |
#ifndef VM_INT_CONSTANTS_OS |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
775 |
#define VM_INT_CONSTANTS_OS(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
776 |
#endif |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
777 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
778 |
#ifndef VM_LONG_CONSTANTS_OS |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
779 |
#define VM_LONG_CONSTANTS_OS(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
780 |
#endif |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
781 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
782 |
#ifndef VM_ADDRESSES_OS |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
783 |
#define VM_ADDRESSES_OS(declare_address, declare_preprocessor_address, declare_function) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
784 |
#endif |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
785 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
786 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
787 |
// |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
788 |
// Instantiation of VMStructEntries, VMTypeEntries and VMIntConstantEntries |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
789 |
// |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
790 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
791 |
// These initializers are allowed to access private fields in classes |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
792 |
// as long as class VMStructs is a friend |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
793 |
VMStructEntry JVMCIVMStructs::localHotSpotVMStructs[] = { |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
794 |
VM_STRUCTS(GENERATE_NONSTATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
795 |
GENERATE_STATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
796 |
GENERATE_UNCHECKED_NONSTATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
797 |
GENERATE_NONSTATIC_VM_STRUCT_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
798 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
799 |
VM_STRUCTS_OS(GENERATE_NONSTATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
800 |
GENERATE_STATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
801 |
GENERATE_UNCHECKED_NONSTATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
802 |
GENERATE_NONSTATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
803 |
GENERATE_NONPRODUCT_NONSTATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
804 |
GENERATE_C2_NONSTATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
805 |
GENERATE_C1_UNCHECKED_STATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
806 |
GENERATE_C2_UNCHECKED_STATIC_VM_STRUCT_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
807 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
808 |
VM_STRUCTS_CPU(GENERATE_NONSTATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
809 |
GENERATE_STATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
810 |
GENERATE_UNCHECKED_NONSTATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
811 |
GENERATE_NONSTATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
812 |
GENERATE_NONPRODUCT_NONSTATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
813 |
GENERATE_C2_NONSTATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
814 |
GENERATE_C1_UNCHECKED_STATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
815 |
GENERATE_C2_UNCHECKED_STATIC_VM_STRUCT_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
816 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
817 |
#if INCLUDE_ALL_GCS |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
818 |
VM_STRUCTS_G1(GENERATE_NONSTATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
819 |
GENERATE_STATIC_VM_STRUCT_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
820 |
#endif |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
821 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
822 |
GENERATE_VM_STRUCT_LAST_ENTRY() |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
823 |
}; |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
824 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
825 |
VMTypeEntry JVMCIVMStructs::localHotSpotVMTypes[] = { |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
826 |
VM_TYPES(GENERATE_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
827 |
GENERATE_TOPLEVEL_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
828 |
GENERATE_INTEGER_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
829 |
GENERATE_UNSIGNED_INTEGER_VM_TYPE_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
830 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
831 |
VM_TYPES_OS(GENERATE_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
832 |
GENERATE_TOPLEVEL_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
833 |
GENERATE_OOP_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
834 |
GENERATE_INTEGER_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
835 |
GENERATE_UNSIGNED_INTEGER_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
836 |
GENERATE_C1_TOPLEVEL_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
837 |
GENERATE_C2_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
838 |
GENERATE_C2_TOPLEVEL_VM_TYPE_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
839 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
840 |
VM_TYPES_CPU(GENERATE_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
841 |
GENERATE_TOPLEVEL_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
842 |
GENERATE_OOP_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
843 |
GENERATE_INTEGER_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
844 |
GENERATE_UNSIGNED_INTEGER_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
845 |
GENERATE_C1_TOPLEVEL_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
846 |
GENERATE_C2_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
847 |
GENERATE_C2_TOPLEVEL_VM_TYPE_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
848 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
849 |
GENERATE_VM_TYPE_LAST_ENTRY() |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
850 |
}; |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
851 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
852 |
VMIntConstantEntry JVMCIVMStructs::localHotSpotVMIntConstants[] = { |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
853 |
VM_INT_CONSTANTS(GENERATE_VM_INT_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
854 |
GENERATE_VM_INT_CONSTANT_WITH_VALUE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
855 |
GENERATE_PREPROCESSOR_VM_INT_CONSTANT_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
856 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
857 |
VM_INT_CONSTANTS_OS(GENERATE_VM_INT_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
858 |
GENERATE_PREPROCESSOR_VM_INT_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
859 |
GENERATE_C1_VM_INT_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
860 |
GENERATE_C2_VM_INT_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
861 |
GENERATE_C2_PREPROCESSOR_VM_INT_CONSTANT_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
862 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
863 |
VM_INT_CONSTANTS_CPU(GENERATE_VM_INT_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
864 |
GENERATE_PREPROCESSOR_VM_INT_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
865 |
GENERATE_C1_VM_INT_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
866 |
GENERATE_C2_VM_INT_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
867 |
GENERATE_C2_PREPROCESSOR_VM_INT_CONSTANT_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
868 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
869 |
#if INCLUDE_ALL_GCS |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
870 |
VM_INT_CONSTANTS_G1(GENERATE_VM_INT_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
871 |
GENERATE_VM_INT_CONSTANT_WITH_VALUE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
872 |
GENERATE_PREPROCESSOR_VM_INT_CONSTANT_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
873 |
#endif |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
874 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
875 |
GENERATE_VM_INT_CONSTANT_LAST_ENTRY() |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
876 |
}; |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
877 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
878 |
VMLongConstantEntry JVMCIVMStructs::localHotSpotVMLongConstants[] = { |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
879 |
VM_LONG_CONSTANTS(GENERATE_VM_LONG_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
880 |
GENERATE_PREPROCESSOR_VM_LONG_CONSTANT_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
881 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
882 |
VM_LONG_CONSTANTS_OS(GENERATE_VM_LONG_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
883 |
GENERATE_PREPROCESSOR_VM_LONG_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
884 |
GENERATE_C1_VM_LONG_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
885 |
GENERATE_C2_VM_LONG_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
886 |
GENERATE_C2_PREPROCESSOR_VM_LONG_CONSTANT_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
887 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
888 |
VM_LONG_CONSTANTS_CPU(GENERATE_VM_LONG_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
889 |
GENERATE_PREPROCESSOR_VM_LONG_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
890 |
GENERATE_C1_VM_LONG_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
891 |
GENERATE_C2_VM_LONG_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
892 |
GENERATE_C2_PREPROCESSOR_VM_LONG_CONSTANT_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
893 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
894 |
GENERATE_VM_LONG_CONSTANT_LAST_ENTRY() |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
895 |
}; |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
896 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
897 |
VMAddressEntry JVMCIVMStructs::localHotSpotVMAddresses[] = { |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
898 |
VM_ADDRESSES(GENERATE_VM_ADDRESS_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
899 |
GENERATE_PREPROCESSOR_VM_ADDRESS_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
900 |
GENERATE_VM_FUNCTION_ENTRY) |
42650 | 901 |
VM_ADDRESSES_COMPILER_RUNTIME(GENERATE_VM_ADDRESS_ENTRY, |
902 |
GENERATE_PREPROCESSOR_VM_ADDRESS_ENTRY, |
|
903 |
GENERATE_VM_FUNCTION_ENTRY) |
|
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
904 |
VM_ADDRESSES_OS(GENERATE_VM_ADDRESS_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
905 |
GENERATE_PREPROCESSOR_VM_ADDRESS_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
906 |
GENERATE_VM_FUNCTION_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
907 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
908 |
GENERATE_VM_ADDRESS_LAST_ENTRY() |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
909 |
}; |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
910 |
|
39423
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
911 |
int JVMCIVMStructs::localHotSpotVMStructs_count() { |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
912 |
// Ignore sentinel entry at the end |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
913 |
return (sizeof(localHotSpotVMStructs) / sizeof(VMStructEntry)) - 1; |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
914 |
} |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
915 |
int JVMCIVMStructs::localHotSpotVMTypes_count() { |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
916 |
// Ignore sentinel entry at the end |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
917 |
return (sizeof(localHotSpotVMTypes) / sizeof(VMTypeEntry)) - 1; |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
918 |
} |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
919 |
int JVMCIVMStructs::localHotSpotVMIntConstants_count() { |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
920 |
// Ignore sentinel entry at the end |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
921 |
return (sizeof(localHotSpotVMIntConstants) / sizeof(VMIntConstantEntry)) - 1; |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
922 |
} |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
923 |
int JVMCIVMStructs::localHotSpotVMLongConstants_count() { |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
924 |
// Ignore sentinel entry at the end |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
925 |
return (sizeof(localHotSpotVMLongConstants) / sizeof(VMLongConstantEntry)) - 1; |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
926 |
} |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
927 |
int JVMCIVMStructs::localHotSpotVMAddresses_count() { |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
928 |
// Ignore sentinel entry at the end |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
929 |
return (sizeof(localHotSpotVMAddresses) / sizeof(VMAddressEntry)) - 1; |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
930 |
} |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
931 |
|
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
932 |
extern "C" { |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
933 |
JNIEXPORT VMStructEntry* jvmciHotSpotVMStructs = JVMCIVMStructs::localHotSpotVMStructs; |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
934 |
JNIEXPORT VMTypeEntry* jvmciHotSpotVMTypes = JVMCIVMStructs::localHotSpotVMTypes; |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
935 |
JNIEXPORT VMIntConstantEntry* jvmciHotSpotVMIntConstants = JVMCIVMStructs::localHotSpotVMIntConstants; |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
936 |
JNIEXPORT VMLongConstantEntry* jvmciHotSpotVMLongConstants = JVMCIVMStructs::localHotSpotVMLongConstants; |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
937 |
JNIEXPORT VMAddressEntry* jvmciHotSpotVMAddresses = JVMCIVMStructs::localHotSpotVMAddresses; |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
938 |
} |