author | herrick |
Wed, 27 Mar 2019 08:27:58 -0400 | |
branch | JDK-8200758-branch |
changeset 57288 | 0be43184f52a |
parent 54073 | ee53a278b9d8 |
child 54595 | a61da18408c1 |
permissions | -rw-r--r-- |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
1 |
/* |
53425
312880c38a7f
8215375: [Graal] jck:vm/jvmti/Exception/excp001/excp00101 fails in Graal as JIT mode and -Xcomp mode
dnsimon
parents:
52645
diff
changeset
|
2 |
* Copyright (c) 2015, 2019, 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" |
54073
ee53a278b9d8
8220344: Build failures when using --with-jvm-features=-g1gc,-jfr
zgu
parents:
53425
diff
changeset
|
29 |
#include "gc/shared/cardTable.hpp" |
50409
76bca6678913
8204237: Clean up incorrectly included .inline.hpp files from jvmciJavaClasses.hpp
coleenp
parents:
49982
diff
changeset
|
30 |
#include "gc/shared/collectedHeap.hpp" |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
31 |
#include "jvmci/jvmciCodeInstaller.hpp" |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
32 |
#include "jvmci/jvmciCompilerToVM.hpp" |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
33 |
#include "jvmci/jvmciEnv.hpp" |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
34 |
#include "jvmci/jvmciRuntime.hpp" |
42650 | 35 |
#include "jvmci/vmStructs_compiler_runtime.hpp" |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
36 |
#include "jvmci/vmStructs_jvmci.hpp" |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
37 |
#include "oops/oop.hpp" |
47580 | 38 |
#include "oops/oopHandle.hpp" |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
39 |
#include "oops/objArrayKlass.hpp" |
49902
3661f31c6df4
8202150: [REDO] Split globals.hpp to factor out the Flag class
gziemski
parents:
49860
diff
changeset
|
40 |
#include "runtime/flags/jvmFlag.hpp" |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
41 |
#include "runtime/globals.hpp" |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
42 |
#include "runtime/sharedRuntime.hpp" |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
43 |
#include "runtime/thread.hpp" |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
44 |
#include "runtime/vm_version.hpp" |
49982 | 45 |
#if INCLUDE_G1GC |
49347
edb65305d3ac
8195148: Collapse G1SATBCardTableModRefBS and G1SATBCardTableLoggingModRefBS into a single G1BarrierSet
eosterlund
parents:
49164
diff
changeset
|
46 |
#include "gc/g1/g1BarrierSet.hpp" |
edb65305d3ac
8195148: Collapse G1SATBCardTableModRefBS and G1SATBCardTableLoggingModRefBS into a single G1BarrierSet
eosterlund
parents:
49164
diff
changeset
|
47 |
#include "gc/g1/g1CardTable.hpp" |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
48 |
#include "gc/g1/heapRegion.hpp" |
49752
93d84f667d12
8201318: Introduce GCThreadLocalData to abstract GC-specific data belonging to a thread
pliden
parents:
49730
diff
changeset
|
49 |
#include "gc/g1/g1ThreadLocalData.hpp" |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
50 |
#endif |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
51 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
52 |
#define VM_STRUCTS(nonstatic_field, static_field, unchecked_nonstatic_field, volatile_nonstatic_field) \ |
35899 | 53 |
static_field(CompilerToVM::Data, Klass_vtable_start_offset, int) \ |
54 |
static_field(CompilerToVM::Data, Klass_vtable_length_offset, int) \ |
|
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
55 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
56 |
static_field(CompilerToVM::Data, Method_extra_stack_entries, int) \ |
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, SharedRuntime_ic_miss_stub, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
59 |
static_field(CompilerToVM::Data, SharedRuntime_handle_wrong_method_stub, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
60 |
static_field(CompilerToVM::Data, SharedRuntime_deopt_blob_unpack, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
61 |
static_field(CompilerToVM::Data, SharedRuntime_deopt_blob_uncommon_trap, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
62 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
63 |
static_field(CompilerToVM::Data, ThreadLocalAllocBuffer_alignment_reserve, size_t) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
64 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
65 |
static_field(CompilerToVM::Data, Universe_collectedHeap, CollectedHeap*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
66 |
static_field(CompilerToVM::Data, Universe_base_vtable_size, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
67 |
static_field(CompilerToVM::Data, Universe_narrow_oop_base, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
68 |
static_field(CompilerToVM::Data, Universe_narrow_oop_shift, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
69 |
static_field(CompilerToVM::Data, Universe_narrow_klass_base, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
70 |
static_field(CompilerToVM::Data, Universe_narrow_klass_shift, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
71 |
static_field(CompilerToVM::Data, Universe_non_oop_bits, void*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
72 |
static_field(CompilerToVM::Data, Universe_verify_oop_mask, uintptr_t) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
73 |
static_field(CompilerToVM::Data, Universe_verify_oop_bits, uintptr_t) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
74 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
75 |
static_field(CompilerToVM::Data, _supports_inline_contig_alloc, bool) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
76 |
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
|
77 |
static_field(CompilerToVM::Data, _heap_top_addr, HeapWord* volatile*) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
78 |
\ |
39441
7464b1552bf7
8158850: [JVMCI] be more precise when enforcing OopMapValue encoding limitations
never
parents:
39423
diff
changeset
|
79 |
static_field(CompilerToVM::Data, _max_oop_map_stack_offset, int) \ |
52645
74cf02d5f6e2
8213907: [JVMCI] avoid Class.getDeclared* methods when converting JVMCI objects to reflection objects
dnsimon
parents:
52033
diff
changeset
|
80 |
static_field(CompilerToVM::Data, _fields_annotations_base_offset, int) \ |
39441
7464b1552bf7
8158850: [JVMCI] be more precise when enforcing OopMapValue encoding limitations
never
parents:
39423
diff
changeset
|
81 |
\ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
82 |
static_field(CompilerToVM::Data, cardtable_start_address, jbyte*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
83 |
static_field(CompilerToVM::Data, cardtable_shift, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
84 |
\ |
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
|
85 |
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
|
86 |
\ |
43939 | 87 |
static_field(CompilerToVM::Data, sizeof_vtableEntry, int) \ |
88 |
static_field(CompilerToVM::Data, sizeof_ExceptionTableElement, int) \ |
|
89 |
static_field(CompilerToVM::Data, sizeof_LocalVariableTableElement, int) \ |
|
90 |
static_field(CompilerToVM::Data, sizeof_ConstantPool, int) \ |
|
91 |
static_field(CompilerToVM::Data, sizeof_narrowKlass, int) \ |
|
92 |
static_field(CompilerToVM::Data, sizeof_arrayOopDesc, int) \ |
|
93 |
static_field(CompilerToVM::Data, sizeof_BasicLock, int) \ |
|
94 |
\ |
|
38283
4fb93f7c26fe
8156178: [JVMCI] expose StubRoutines trig functions
never
parents:
38231
diff
changeset
|
95 |
static_field(CompilerToVM::Data, dsin, address) \ |
4fb93f7c26fe
8156178: [JVMCI] expose StubRoutines trig functions
never
parents:
38231
diff
changeset
|
96 |
static_field(CompilerToVM::Data, dcos, address) \ |
4fb93f7c26fe
8156178: [JVMCI] expose StubRoutines trig functions
never
parents:
38231
diff
changeset
|
97 |
static_field(CompilerToVM::Data, dtan, address) \ |
4fb93f7c26fe
8156178: [JVMCI] expose StubRoutines trig functions
never
parents:
38231
diff
changeset
|
98 |
static_field(CompilerToVM::Data, dexp, address) \ |
4fb93f7c26fe
8156178: [JVMCI] expose StubRoutines trig functions
never
parents:
38231
diff
changeset
|
99 |
static_field(CompilerToVM::Data, dlog, address) \ |
4fb93f7c26fe
8156178: [JVMCI] expose StubRoutines trig functions
never
parents:
38231
diff
changeset
|
100 |
static_field(CompilerToVM::Data, dlog10, address) \ |
4fb93f7c26fe
8156178: [JVMCI] expose StubRoutines trig functions
never
parents:
38231
diff
changeset
|
101 |
static_field(CompilerToVM::Data, dpow, address) \ |
4fb93f7c26fe
8156178: [JVMCI] expose StubRoutines trig functions
never
parents:
38231
diff
changeset
|
102 |
\ |
43939 | 103 |
static_field(CompilerToVM::Data, symbol_init, address) \ |
104 |
static_field(CompilerToVM::Data, symbol_clinit, address) \ |
|
105 |
\ |
|
35148 | 106 |
static_field(Abstract_VM_Version, _features, uint64_t) \ |
107 |
\ |
|
52645
74cf02d5f6e2
8213907: [JVMCI] avoid Class.getDeclared* methods when converting JVMCI objects to reflection objects
dnsimon
parents:
52033
diff
changeset
|
108 |
nonstatic_field(Annotations, _fields_annotations, Array<AnnotationArray*>*) \ |
74cf02d5f6e2
8213907: [JVMCI] avoid Class.getDeclared* methods when converting JVMCI objects to reflection objects
dnsimon
parents:
52033
diff
changeset
|
109 |
\ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
110 |
nonstatic_field(Array<int>, _length, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
111 |
unchecked_nonstatic_field(Array<u1>, _data, sizeof(u1)) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
112 |
unchecked_nonstatic_field(Array<u2>, _data, sizeof(u2)) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
113 |
nonstatic_field(Array<Klass*>, _length, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
114 |
nonstatic_field(Array<Klass*>, _data[0], Klass*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
115 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
116 |
volatile_nonstatic_field(BasicLock, _displaced_header, markOop) \ |
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 |
static_field(CodeCache, _low_bound, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
119 |
static_field(CodeCache, _high_bound, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
120 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
121 |
nonstatic_field(CollectedHeap, _total_collections, unsigned int) \ |
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(CompileTask, _num_inlined_bytecodes, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
124 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
125 |
nonstatic_field(ConstantPool, _tags, Array<u1>*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
126 |
nonstatic_field(ConstantPool, _pool_holder, InstanceKlass*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
127 |
nonstatic_field(ConstantPool, _length, int) \ |
48826 | 128 |
nonstatic_field(ConstantPool, _flags, int) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
129 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
130 |
nonstatic_field(ConstMethod, _constants, ConstantPool*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
131 |
nonstatic_field(ConstMethod, _flags, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
132 |
nonstatic_field(ConstMethod, _code_size, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
133 |
nonstatic_field(ConstMethod, _name_index, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
134 |
nonstatic_field(ConstMethod, _signature_index, u2) \ |
47668 | 135 |
nonstatic_field(ConstMethod, _method_idnum, u2) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
136 |
nonstatic_field(ConstMethod, _max_stack, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
137 |
nonstatic_field(ConstMethod, _max_locals, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
138 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
139 |
nonstatic_field(DataLayout, _header._struct._tag, u1) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
140 |
nonstatic_field(DataLayout, _header._struct._flags, u1) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
141 |
nonstatic_field(DataLayout, _header._struct._bci, u2) \ |
50577
bf7e2684cd0a
8204240: Extend MDO to allow more reasons to be recorded per bci
roland
parents:
50409
diff
changeset
|
142 |
nonstatic_field(DataLayout, _header._struct._traps, u4) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
143 |
nonstatic_field(DataLayout, _cells[0], intptr_t) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
144 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
145 |
nonstatic_field(Deoptimization::UnrollBlock, _size_of_deoptimized_frame, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
146 |
nonstatic_field(Deoptimization::UnrollBlock, _caller_adjustment, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
147 |
nonstatic_field(Deoptimization::UnrollBlock, _number_of_frames, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
148 |
nonstatic_field(Deoptimization::UnrollBlock, _total_frame_sizes, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
149 |
nonstatic_field(Deoptimization::UnrollBlock, _frame_sizes, intptr_t*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
150 |
nonstatic_field(Deoptimization::UnrollBlock, _frame_pcs, address*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
151 |
nonstatic_field(Deoptimization::UnrollBlock, _initial_info, intptr_t) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
152 |
nonstatic_field(Deoptimization::UnrollBlock, _unpack_kind, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
153 |
\ |
49902
3661f31c6df4
8202150: [REDO] Split globals.hpp to factor out the Flag class
gziemski
parents:
49860
diff
changeset
|
154 |
nonstatic_field(ExceptionTableElement, start_pc, u2) \ |
3661f31c6df4
8202150: [REDO] Split globals.hpp to factor out the Flag class
gziemski
parents:
49860
diff
changeset
|
155 |
nonstatic_field(ExceptionTableElement, end_pc, u2) \ |
3661f31c6df4
8202150: [REDO] Split globals.hpp to factor out the Flag class
gziemski
parents:
49860
diff
changeset
|
156 |
nonstatic_field(ExceptionTableElement, handler_pc, u2) \ |
3661f31c6df4
8202150: [REDO] Split globals.hpp to factor out the Flag class
gziemski
parents:
49860
diff
changeset
|
157 |
nonstatic_field(ExceptionTableElement, catch_type_index, u2) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
158 |
\ |
49902
3661f31c6df4
8202150: [REDO] Split globals.hpp to factor out the Flag class
gziemski
parents:
49860
diff
changeset
|
159 |
nonstatic_field(JVMFlag, _type, const char*) \ |
3661f31c6df4
8202150: [REDO] Split globals.hpp to factor out the Flag class
gziemski
parents:
49860
diff
changeset
|
160 |
nonstatic_field(JVMFlag, _name, const char*) \ |
3661f31c6df4
8202150: [REDO] Split globals.hpp to factor out the Flag class
gziemski
parents:
49860
diff
changeset
|
161 |
unchecked_nonstatic_field(JVMFlag, _addr, sizeof(void*)) \ |
3661f31c6df4
8202150: [REDO] Split globals.hpp to factor out the Flag class
gziemski
parents:
49860
diff
changeset
|
162 |
nonstatic_field(JVMFlag, _flags, JVMFlag::Flags) \ |
3661f31c6df4
8202150: [REDO] Split globals.hpp to factor out the Flag class
gziemski
parents:
49860
diff
changeset
|
163 |
static_field(JVMFlag, flags, JVMFlag*) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
164 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
165 |
nonstatic_field(InstanceKlass, _fields, Array<u2>*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
166 |
nonstatic_field(InstanceKlass, _constants, ConstantPool*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
167 |
nonstatic_field(InstanceKlass, _source_file_name_index, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
168 |
nonstatic_field(InstanceKlass, _init_state, u1) \ |
47668 | 169 |
nonstatic_field(InstanceKlass, _misc_flags, u2) \ |
52645
74cf02d5f6e2
8213907: [JVMCI] avoid Class.getDeclared* methods when converting JVMCI objects to reflection objects
dnsimon
parents:
52033
diff
changeset
|
170 |
nonstatic_field(InstanceKlass, _annotations, Annotations*) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
171 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
172 |
volatile_nonstatic_field(JavaFrameAnchor, _last_Java_sp, intptr_t*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
173 |
volatile_nonstatic_field(JavaFrameAnchor, _last_Java_pc, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
174 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
175 |
nonstatic_field(JavaThread, _threadObj, oop) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
176 |
nonstatic_field(JavaThread, _anchor, JavaFrameAnchor) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
177 |
nonstatic_field(JavaThread, _vm_result, oop) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
178 |
volatile_nonstatic_field(JavaThread, _exception_oop, oop) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
179 |
volatile_nonstatic_field(JavaThread, _exception_pc, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
180 |
volatile_nonstatic_field(JavaThread, _is_method_handle_return, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
181 |
nonstatic_field(JavaThread, _osthread, OSThread*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
182 |
nonstatic_field(JavaThread, _pending_deoptimization, int) \ |
50858 | 183 |
nonstatic_field(JavaThread, _pending_failed_speculation, long) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
184 |
nonstatic_field(JavaThread, _pending_transfer_to_interpreter, bool) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
185 |
nonstatic_field(JavaThread, _jvmci_counters, jlong*) \ |
53425
312880c38a7f
8215375: [Graal] jck:vm/jvmti/Exception/excp001/excp00101 fails in Graal as JIT mode and -Xcomp mode
dnsimon
parents:
52645
diff
changeset
|
186 |
nonstatic_field(JavaThread, _should_post_on_exceptions_flag, int) \ |
36080
3bde85c47627
8150075: [JVMCI] expose reserved stack machinery and Inline flag in HotSpotVMConfig
never
parents:
35913
diff
changeset
|
187 |
nonstatic_field(JavaThread, _reserved_stack_activation, address) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
188 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
189 |
static_field(java_lang_Class, _klass_offset, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
190 |
static_field(java_lang_Class, _array_klass_offset, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
191 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
192 |
nonstatic_field(JVMCIEnv, _task, CompileTask*) \ |
53425
312880c38a7f
8215375: [Graal] jck:vm/jvmti/Exception/excp001/excp00101 fails in Graal as JIT mode and -Xcomp mode
dnsimon
parents:
52645
diff
changeset
|
193 |
nonstatic_field(JVMCIEnv, _jvmti_can_hotswap_or_post_breakpoint, jbyte) \ |
312880c38a7f
8215375: [Graal] jck:vm/jvmti/Exception/excp001/excp00101 fails in Graal as JIT mode and -Xcomp mode
dnsimon
parents:
52645
diff
changeset
|
194 |
nonstatic_field(JVMCIEnv, _jvmti_can_access_local_variables, jbyte) \ |
312880c38a7f
8215375: [Graal] jck:vm/jvmti/Exception/excp001/excp00101 fails in Graal as JIT mode and -Xcomp mode
dnsimon
parents:
52645
diff
changeset
|
195 |
nonstatic_field(JVMCIEnv, _jvmti_can_post_on_exceptions, jbyte) \ |
312880c38a7f
8215375: [Graal] jck:vm/jvmti/Exception/excp001/excp00101 fails in Graal as JIT mode and -Xcomp mode
dnsimon
parents:
52645
diff
changeset
|
196 |
nonstatic_field(JVMCIEnv, _jvmti_can_pop_frame, jbyte) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
197 |
\ |
41684 | 198 |
nonstatic_field(InvocationCounter, _counter, unsigned int) \ |
199 |
\ |
|
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
200 |
nonstatic_field(Klass, _secondary_super_cache, Klass*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
201 |
nonstatic_field(Klass, _secondary_supers, Array<Klass*>*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
202 |
nonstatic_field(Klass, _super, Klass*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
203 |
nonstatic_field(Klass, _super_check_offset, juint) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
204 |
nonstatic_field(Klass, _subklass, Klass*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
205 |
nonstatic_field(Klass, _layout_helper, jint) \ |
36842
8f0d0faa51e2
8152634: generalize exception throwing routines in JVMCIRuntime
rschatz
parents:
36555
diff
changeset
|
206 |
nonstatic_field(Klass, _name, Symbol*) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
207 |
nonstatic_field(Klass, _prototype_header, markOop) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
208 |
nonstatic_field(Klass, _next_sibling, Klass*) \ |
47580 | 209 |
nonstatic_field(Klass, _java_mirror, OopHandle) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
210 |
nonstatic_field(Klass, _modifier_flags, jint) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
211 |
nonstatic_field(Klass, _access_flags, AccessFlags) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
212 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
213 |
nonstatic_field(LocalVariableTableElement, start_bci, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
214 |
nonstatic_field(LocalVariableTableElement, length, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
215 |
nonstatic_field(LocalVariableTableElement, name_cp_index, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
216 |
nonstatic_field(LocalVariableTableElement, descriptor_cp_index, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
217 |
nonstatic_field(LocalVariableTableElement, signature_cp_index, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
218 |
nonstatic_field(LocalVariableTableElement, slot, u2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
219 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
220 |
nonstatic_field(Method, _constMethod, ConstMethod*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
221 |
nonstatic_field(Method, _method_data, MethodData*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
222 |
nonstatic_field(Method, _method_counters, MethodCounters*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
223 |
nonstatic_field(Method, _access_flags, AccessFlags) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
224 |
nonstatic_field(Method, _vtable_index, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
225 |
nonstatic_field(Method, _intrinsic_id, u2) \ |
35137
c8f8f6de68a7
8144704: [JVMCI] add tests for simple code installation
rschatz
parents:
35133
diff
changeset
|
226 |
nonstatic_field(Method, _flags, u2) \ |
38133
78b95467b9f1
8151956: Support non-continuous CodeBlobs in HotSpot
rbackman
parents:
36842
diff
changeset
|
227 |
volatile_nonstatic_field(Method, _code, CompiledMethod*) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
228 |
volatile_nonstatic_field(Method, _from_compiled_entry, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
229 |
\ |
41684 | 230 |
nonstatic_field(MethodCounters, _nmethod_age, int) \ |
231 |
nonstatic_field(MethodCounters, _interpreter_invocation_limit, int) \ |
|
232 |
nonstatic_field(MethodCounters, _interpreter_backward_branch_limit, int) \ |
|
233 |
nonstatic_field(MethodCounters, _interpreter_profile_limit, int) \ |
|
234 |
nonstatic_field(MethodCounters, _invoke_mask, int) \ |
|
235 |
nonstatic_field(MethodCounters, _backedge_mask, int) \ |
|
236 |
nonstatic_field(MethodCounters, _interpreter_invocation_count, int) \ |
|
237 |
nonstatic_field(MethodCounters, _interpreter_throwout_count, u2) \ |
|
238 |
JVMTI_ONLY(nonstatic_field(MethodCounters, _number_of_breakpoints, u2)) \ |
|
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
239 |
nonstatic_field(MethodCounters, _invocation_counter, InvocationCounter) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
240 |
nonstatic_field(MethodCounters, _backedge_counter, InvocationCounter) \ |
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 |
nonstatic_field(MethodData, _size, int) \ |
41684 | 243 |
nonstatic_field(MethodData, _method, Method*) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
244 |
nonstatic_field(MethodData, _data_size, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
245 |
nonstatic_field(MethodData, _data[0], intptr_t) \ |
41684 | 246 |
nonstatic_field(MethodData, _parameters_type_data_di, int) \ |
247 |
nonstatic_field(MethodData, _nof_decompiles, uint) \ |
|
248 |
nonstatic_field(MethodData, _nof_overflow_recompiles, uint) \ |
|
249 |
nonstatic_field(MethodData, _nof_overflow_traps, uint) \ |
|
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
250 |
nonstatic_field(MethodData, _trap_hist._array[0], u1) \ |
41684 | 251 |
nonstatic_field(MethodData, _eflags, intx) \ |
252 |
nonstatic_field(MethodData, _arg_local, intx) \ |
|
253 |
nonstatic_field(MethodData, _arg_stack, intx) \ |
|
254 |
nonstatic_field(MethodData, _arg_returned, intx) \ |
|
255 |
nonstatic_field(MethodData, _tenure_traps, uint) \ |
|
256 |
nonstatic_field(MethodData, _invoke_mask, int) \ |
|
257 |
nonstatic_field(MethodData, _backedge_mask, int) \ |
|
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
258 |
nonstatic_field(MethodData, _jvmci_ir_size, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
259 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
260 |
nonstatic_field(nmethod, _verified_entry_point, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
261 |
nonstatic_field(nmethod, _comp_level, int) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
262 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
263 |
nonstatic_field(ObjArrayKlass, _element_klass, Klass*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
264 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
265 |
volatile_nonstatic_field(oopDesc, _mark, markOop) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
266 |
volatile_nonstatic_field(oopDesc, _metadata._klass, Klass*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
267 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
268 |
static_field(os, _polling_page, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
269 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
270 |
volatile_nonstatic_field(OSThread, _interrupted, jint) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
271 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
272 |
static_field(StubRoutines, _verify_oop_count, jint) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
273 |
\ |
36080
3bde85c47627
8150075: [JVMCI] expose reserved stack machinery and Inline flag in HotSpotVMConfig
never
parents:
35913
diff
changeset
|
274 |
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
|
275 |
\ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
276 |
static_field(StubRoutines, _jbyte_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
277 |
static_field(StubRoutines, _jshort_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
278 |
static_field(StubRoutines, _jint_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
279 |
static_field(StubRoutines, _jlong_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
280 |
static_field(StubRoutines, _oop_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
281 |
static_field(StubRoutines, _oop_arraycopy_uninit, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
282 |
static_field(StubRoutines, _jbyte_disjoint_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
283 |
static_field(StubRoutines, _jshort_disjoint_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
284 |
static_field(StubRoutines, _jint_disjoint_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
285 |
static_field(StubRoutines, _jlong_disjoint_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
286 |
static_field(StubRoutines, _oop_disjoint_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
287 |
static_field(StubRoutines, _oop_disjoint_arraycopy_uninit, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
288 |
static_field(StubRoutines, _arrayof_jbyte_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
289 |
static_field(StubRoutines, _arrayof_jshort_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
290 |
static_field(StubRoutines, _arrayof_jint_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
291 |
static_field(StubRoutines, _arrayof_jlong_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
292 |
static_field(StubRoutines, _arrayof_oop_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
293 |
static_field(StubRoutines, _arrayof_oop_arraycopy_uninit, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
294 |
static_field(StubRoutines, _arrayof_jbyte_disjoint_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
295 |
static_field(StubRoutines, _arrayof_jshort_disjoint_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
296 |
static_field(StubRoutines, _arrayof_jint_disjoint_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
297 |
static_field(StubRoutines, _arrayof_jlong_disjoint_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
298 |
static_field(StubRoutines, _arrayof_oop_disjoint_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
299 |
static_field(StubRoutines, _arrayof_oop_disjoint_arraycopy_uninit, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
300 |
static_field(StubRoutines, _checkcast_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
301 |
static_field(StubRoutines, _checkcast_arraycopy_uninit, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
302 |
static_field(StubRoutines, _unsafe_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
303 |
static_field(StubRoutines, _generic_arraycopy, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
304 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
305 |
static_field(StubRoutines, _aescrypt_encryptBlock, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
306 |
static_field(StubRoutines, _aescrypt_decryptBlock, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
307 |
static_field(StubRoutines, _cipherBlockChaining_encryptAESCrypt, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
308 |
static_field(StubRoutines, _cipherBlockChaining_decryptAESCrypt, address) \ |
42554
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
309 |
static_field(StubRoutines, _counterMode_AESCrypt, address) \ |
50860
480a96a43b62
8205528: Base64 encoding algorithm using AVX512 instructions
kvn
parents:
50858
diff
changeset
|
310 |
static_field(StubRoutines, _base64_encodeBlock, address) \ |
42554
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
311 |
static_field(StubRoutines, _ghash_processBlocks, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
312 |
static_field(StubRoutines, _sha1_implCompress, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
313 |
static_field(StubRoutines, _sha1_implCompressMB, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
314 |
static_field(StubRoutines, _sha256_implCompress, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
315 |
static_field(StubRoutines, _sha256_implCompressMB, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
316 |
static_field(StubRoutines, _sha512_implCompress, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
317 |
static_field(StubRoutines, _sha512_implCompressMB, address) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
318 |
static_field(StubRoutines, _updateBytesCRC32, address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
319 |
static_field(StubRoutines, _crc_table_adr, address) \ |
42554
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
320 |
static_field(StubRoutines, _crc32c_table_addr, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
321 |
static_field(StubRoutines, _updateBytesCRC32C, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
322 |
static_field(StubRoutines, _updateBytesAdler32, address) \ |
44083
28054923c3a6
8175811: [JVMCI] StubRoutines::_multiplyToLen symbol needs to exported
dnsimon
parents:
43939
diff
changeset
|
323 |
static_field(StubRoutines, _multiplyToLen, address) \ |
42554
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
324 |
static_field(StubRoutines, _squareToLen, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
325 |
static_field(StubRoutines, _mulAdd, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
326 |
static_field(StubRoutines, _montgomeryMultiply, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
327 |
static_field(StubRoutines, _montgomerySquare, address) \ |
6c5c1f1e7842
8169554: [JVMCI] expose missing StubRoutines for intrinsics
never
parents:
41707
diff
changeset
|
328 |
static_field(StubRoutines, _vectorizedMismatch, address) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
329 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
330 |
nonstatic_field(Thread, _tlab, ThreadLocalAllocBuffer) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
331 |
nonstatic_field(Thread, _allocated_bytes, jlong) \ |
48172
e26fc5201707
8191437: AOT doesn't work easily after thread local handshakes
dlong
parents:
47668
diff
changeset
|
332 |
nonstatic_field(Thread, _polling_page, address) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
333 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
334 |
nonstatic_field(ThreadLocalAllocBuffer, _start, HeapWord*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
335 |
nonstatic_field(ThreadLocalAllocBuffer, _top, HeapWord*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
336 |
nonstatic_field(ThreadLocalAllocBuffer, _end, HeapWord*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
337 |
nonstatic_field(ThreadLocalAllocBuffer, _pf_top, HeapWord*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
338 |
nonstatic_field(ThreadLocalAllocBuffer, _desired_size, size_t) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
339 |
nonstatic_field(ThreadLocalAllocBuffer, _refill_waste_limit, size_t) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
340 |
nonstatic_field(ThreadLocalAllocBuffer, _number_of_refills, unsigned) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
341 |
nonstatic_field(ThreadLocalAllocBuffer, _fast_refill_waste, unsigned) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
342 |
nonstatic_field(ThreadLocalAllocBuffer, _slow_allocations, unsigned) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
343 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
344 |
nonstatic_field(ThreadShadow, _pending_exception, oop) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
345 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
346 |
static_field(vmSymbols, _symbols[0], Symbol*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
347 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
348 |
nonstatic_field(vtableEntry, _method, Method*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
349 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
350 |
#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
|
351 |
declare_integer_type(bool) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
352 |
declare_unsigned_integer_type(size_t) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
353 |
declare_integer_type(intx) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
354 |
declare_unsigned_integer_type(uintx) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
355 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
356 |
declare_toplevel_type(BasicLock) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
357 |
declare_toplevel_type(CompilerToVM) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
358 |
declare_toplevel_type(ExceptionTableElement) \ |
49902
3661f31c6df4
8202150: [REDO] Split globals.hpp to factor out the Flag class
gziemski
parents:
49860
diff
changeset
|
359 |
declare_toplevel_type(JVMFlag) \ |
3661f31c6df4
8202150: [REDO] Split globals.hpp to factor out the Flag class
gziemski
parents:
49860
diff
changeset
|
360 |
declare_toplevel_type(JVMFlag*) \ |
41684 | 361 |
declare_toplevel_type(InvocationCounter) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
362 |
declare_toplevel_type(JVMCIEnv) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
363 |
declare_toplevel_type(LocalVariableTableElement) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
364 |
declare_toplevel_type(narrowKlass) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
365 |
declare_toplevel_type(Symbol*) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
366 |
declare_toplevel_type(vtableEntry) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
367 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
368 |
declare_toplevel_type(oopDesc) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
369 |
declare_type(arrayOopDesc, oopDesc) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
370 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
371 |
declare_toplevel_type(MetaspaceObj) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
372 |
declare_type(Metadata, MetaspaceObj) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
373 |
declare_type(Klass, Metadata) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
374 |
declare_type(InstanceKlass, Klass) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
375 |
declare_type(ConstantPool, Metadata) \ |
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 |
#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
|
378 |
declare_preprocessor_constant("ASSERT", DEBUG_ONLY(1) NOT_DEBUG(0)) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
379 |
declare_preprocessor_constant("FIELDINFO_TAG_SIZE", FIELDINFO_TAG_SIZE) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
380 |
declare_preprocessor_constant("STACK_BIAS", STACK_BIAS) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
381 |
\ |
38666
5ff19807abd5
8152311: [JVMCI] allow JVMCI compiler to change the compilation policy for a method
dnsimon
parents:
38283
diff
changeset
|
382 |
declare_constant(CompLevel_none) \ |
5ff19807abd5
8152311: [JVMCI] allow JVMCI compiler to change the compilation policy for a method
dnsimon
parents:
38283
diff
changeset
|
383 |
declare_constant(CompLevel_simple) \ |
5ff19807abd5
8152311: [JVMCI] allow JVMCI compiler to change the compilation policy for a method
dnsimon
parents:
38283
diff
changeset
|
384 |
declare_constant(CompLevel_limited_profile) \ |
5ff19807abd5
8152311: [JVMCI] allow JVMCI compiler to change the compilation policy for a method
dnsimon
parents:
38283
diff
changeset
|
385 |
declare_constant(CompLevel_full_profile) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
386 |
declare_constant(CompLevel_full_optimization) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
387 |
declare_constant(HeapWordSize) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
388 |
declare_constant(InvocationEntryBci) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
389 |
declare_constant(LogKlassAlignmentInBytes) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
390 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
391 |
declare_constant(JVM_ACC_WRITTEN_FLAGS) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
392 |
declare_constant(JVM_ACC_MONITOR_MATCH) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
393 |
declare_constant(JVM_ACC_HAS_MONITOR_BYTECODES) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
394 |
declare_constant(JVM_ACC_HAS_FINALIZER) \ |
38231 | 395 |
declare_constant(JVM_ACC_IS_CLONEABLE_FAST) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
396 |
declare_constant(JVM_ACC_FIELD_INTERNAL) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
397 |
declare_constant(JVM_ACC_FIELD_STABLE) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
398 |
declare_constant(JVM_ACC_FIELD_HAS_GENERIC_SIGNATURE) \ |
41325 | 399 |
declare_preprocessor_constant("JVM_ACC_VARARGS", JVM_ACC_VARARGS) \ |
400 |
declare_preprocessor_constant("JVM_ACC_BRIDGE", JVM_ACC_BRIDGE) \ |
|
401 |
declare_preprocessor_constant("JVM_ACC_ANNOTATION", JVM_ACC_ANNOTATION) \ |
|
402 |
declare_preprocessor_constant("JVM_ACC_ENUM", JVM_ACC_ENUM) \ |
|
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
403 |
declare_preprocessor_constant("JVM_ACC_SYNTHETIC", JVM_ACC_SYNTHETIC) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
404 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
405 |
declare_constant(JVM_CONSTANT_Utf8) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
406 |
declare_constant(JVM_CONSTANT_Unicode) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
407 |
declare_constant(JVM_CONSTANT_Integer) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
408 |
declare_constant(JVM_CONSTANT_Float) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
409 |
declare_constant(JVM_CONSTANT_Long) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
410 |
declare_constant(JVM_CONSTANT_Double) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
411 |
declare_constant(JVM_CONSTANT_Class) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
412 |
declare_constant(JVM_CONSTANT_String) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
413 |
declare_constant(JVM_CONSTANT_Fieldref) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
414 |
declare_constant(JVM_CONSTANT_Methodref) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
415 |
declare_constant(JVM_CONSTANT_InterfaceMethodref) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
416 |
declare_constant(JVM_CONSTANT_NameAndType) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
417 |
declare_constant(JVM_CONSTANT_MethodHandle) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
418 |
declare_constant(JVM_CONSTANT_MethodType) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
419 |
declare_constant(JVM_CONSTANT_InvokeDynamic) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
420 |
declare_constant(JVM_CONSTANT_ExternalMax) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
421 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
422 |
declare_constant(JVM_CONSTANT_Invalid) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
423 |
declare_constant(JVM_CONSTANT_InternalMin) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
424 |
declare_constant(JVM_CONSTANT_UnresolvedClass) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
425 |
declare_constant(JVM_CONSTANT_ClassIndex) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
426 |
declare_constant(JVM_CONSTANT_StringIndex) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
427 |
declare_constant(JVM_CONSTANT_UnresolvedClassInError) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
428 |
declare_constant(JVM_CONSTANT_MethodHandleInError) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
429 |
declare_constant(JVM_CONSTANT_MethodTypeInError) \ |
48826 | 430 |
declare_constant(JVM_CONSTANT_DynamicInError) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
431 |
declare_constant(JVM_CONSTANT_InternalMax) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
432 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
433 |
declare_constant(ArrayData::array_len_off_set) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
434 |
declare_constant(ArrayData::array_start_off_set) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
435 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
436 |
declare_constant(BitData::exception_seen_flag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
437 |
declare_constant(BitData::null_seen_flag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
438 |
declare_constant(BranchData::not_taken_off_set) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
439 |
\ |
49164
7e958a8ebcd3
8195142: Refactor out card table from CardTableModRefBS to flatten the BarrierSet hierarchy
eosterlund
parents:
48826
diff
changeset
|
440 |
declare_constant_with_value("CardTable::dirty_card", CardTable::dirty_card_val()) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
441 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
442 |
declare_constant(CodeInstaller::VERIFIED_ENTRY) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
443 |
declare_constant(CodeInstaller::UNVERIFIED_ENTRY) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
444 |
declare_constant(CodeInstaller::OSR_ENTRY) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
445 |
declare_constant(CodeInstaller::EXCEPTION_HANDLER_ENTRY) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
446 |
declare_constant(CodeInstaller::DEOPT_HANDLER_ENTRY) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
447 |
declare_constant(CodeInstaller::INVOKEINTERFACE) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
448 |
declare_constant(CodeInstaller::INVOKEVIRTUAL) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
449 |
declare_constant(CodeInstaller::INVOKESTATIC) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
450 |
declare_constant(CodeInstaller::INVOKESPECIAL) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
451 |
declare_constant(CodeInstaller::INLINE_INVOKE) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
452 |
declare_constant(CodeInstaller::POLL_NEAR) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
453 |
declare_constant(CodeInstaller::POLL_RETURN_NEAR) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
454 |
declare_constant(CodeInstaller::POLL_FAR) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
455 |
declare_constant(CodeInstaller::POLL_RETURN_FAR) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
456 |
declare_constant(CodeInstaller::CARD_TABLE_SHIFT) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
457 |
declare_constant(CodeInstaller::CARD_TABLE_ADDRESS) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
458 |
declare_constant(CodeInstaller::HEAP_TOP_ADDRESS) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
459 |
declare_constant(CodeInstaller::HEAP_END_ADDRESS) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
460 |
declare_constant(CodeInstaller::NARROW_KLASS_BASE_ADDRESS) \ |
43435 | 461 |
declare_constant(CodeInstaller::NARROW_OOP_BASE_ADDRESS) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
462 |
declare_constant(CodeInstaller::CRC_TABLE_ADDRESS) \ |
42650 | 463 |
declare_constant(CodeInstaller::LOG_OF_HEAP_REGION_GRAIN_BYTES) \ |
464 |
declare_constant(CodeInstaller::INLINE_CONTIGUOUS_ALLOCATION_SUPPORTED) \ |
|
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
465 |
declare_constant(CodeInstaller::INVOKE_INVALID) \ |
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(ConstantPool::CPCACHE_INDEX_TAG) \ |
48826 | 468 |
declare_constant(ConstantPool::_has_dynamic_constant) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
469 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
470 |
declare_constant(ConstMethod::_has_linenumber_table) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
471 |
declare_constant(ConstMethod::_has_localvariable_table) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
472 |
declare_constant(ConstMethod::_has_exception_table) \ |
52645
74cf02d5f6e2
8213907: [JVMCI] avoid Class.getDeclared* methods when converting JVMCI objects to reflection objects
dnsimon
parents:
52033
diff
changeset
|
473 |
declare_constant(ConstMethod::_has_method_annotations) \ |
74cf02d5f6e2
8213907: [JVMCI] avoid Class.getDeclared* methods when converting JVMCI objects to reflection objects
dnsimon
parents:
52033
diff
changeset
|
474 |
declare_constant(ConstMethod::_has_parameter_annotations) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
475 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
476 |
declare_constant(CounterData::count_off) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
477 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
478 |
declare_constant(DataLayout::cell_size) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
479 |
declare_constant(DataLayout::no_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
480 |
declare_constant(DataLayout::bit_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
481 |
declare_constant(DataLayout::counter_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
482 |
declare_constant(DataLayout::jump_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
483 |
declare_constant(DataLayout::receiver_type_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
484 |
declare_constant(DataLayout::virtual_call_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
485 |
declare_constant(DataLayout::ret_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
486 |
declare_constant(DataLayout::branch_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
487 |
declare_constant(DataLayout::multi_branch_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
488 |
declare_constant(DataLayout::arg_info_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
489 |
declare_constant(DataLayout::call_type_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
490 |
declare_constant(DataLayout::virtual_call_type_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
491 |
declare_constant(DataLayout::parameters_type_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
492 |
declare_constant(DataLayout::speculative_trap_data_tag) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
493 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
494 |
declare_constant(Deoptimization::Unpack_deopt) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
495 |
declare_constant(Deoptimization::Unpack_exception) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
496 |
declare_constant(Deoptimization::Unpack_uncommon_trap) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
497 |
declare_constant(Deoptimization::Unpack_reexecute) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
498 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
499 |
declare_constant(Deoptimization::_action_bits) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
500 |
declare_constant(Deoptimization::_reason_bits) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
501 |
declare_constant(Deoptimization::_debug_id_bits) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
502 |
declare_constant(Deoptimization::_action_shift) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
503 |
declare_constant(Deoptimization::_reason_shift) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
504 |
declare_constant(Deoptimization::_debug_id_shift) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
505 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
506 |
declare_constant(Deoptimization::Action_none) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
507 |
declare_constant(Deoptimization::Action_maybe_recompile) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
508 |
declare_constant(Deoptimization::Action_reinterpret) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
509 |
declare_constant(Deoptimization::Action_make_not_entrant) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
510 |
declare_constant(Deoptimization::Action_make_not_compilable) \ |
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(Deoptimization::Reason_none) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
513 |
declare_constant(Deoptimization::Reason_null_check) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
514 |
declare_constant(Deoptimization::Reason_range_check) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
515 |
declare_constant(Deoptimization::Reason_class_check) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
516 |
declare_constant(Deoptimization::Reason_array_check) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
517 |
declare_constant(Deoptimization::Reason_unreached0) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
518 |
declare_constant(Deoptimization::Reason_constraint) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
519 |
declare_constant(Deoptimization::Reason_div0_check) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
520 |
declare_constant(Deoptimization::Reason_loop_limit_check) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
521 |
declare_constant(Deoptimization::Reason_type_checked_inlining) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
522 |
declare_constant(Deoptimization::Reason_optimized_type_check) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
523 |
declare_constant(Deoptimization::Reason_aliasing) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
524 |
declare_constant(Deoptimization::Reason_transfer_to_interpreter) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
525 |
declare_constant(Deoptimization::Reason_not_compiled_exception_handler) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
526 |
declare_constant(Deoptimization::Reason_unresolved) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
527 |
declare_constant(Deoptimization::Reason_jsr_mismatch) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
528 |
declare_constant(Deoptimization::Reason_LIMIT) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
529 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
530 |
declare_constant(FieldInfo::access_flags_offset) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
531 |
declare_constant(FieldInfo::name_index_offset) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
532 |
declare_constant(FieldInfo::signature_index_offset) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
533 |
declare_constant(FieldInfo::initval_index_offset) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
534 |
declare_constant(FieldInfo::low_packed_offset) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
535 |
declare_constant(FieldInfo::high_packed_offset) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
536 |
declare_constant(FieldInfo::field_slots) \ |
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(InstanceKlass::linked) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
539 |
declare_constant(InstanceKlass::fully_initialized) \ |
51444
3e5d28e6de32
8209301: JVM rename is_anonymous, host_klass to unsafe specific terminology ahead of Unsafe.defineAnonymousClass deprecation
lfoltan
parents:
50860
diff
changeset
|
540 |
declare_constant(InstanceKlass::_misc_is_unsafe_anonymous) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
541 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
542 |
declare_constant(JumpData::taken_off_set) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
543 |
declare_constant(JumpData::displacement_off_set) \ |
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(JVMCIEnv::ok) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
546 |
declare_constant(JVMCIEnv::dependencies_failed) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
547 |
declare_constant(JVMCIEnv::dependencies_invalid) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
548 |
declare_constant(JVMCIEnv::cache_full) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
549 |
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
|
550 |
declare_constant(JVMCIRuntime::none) \ |
5ff19807abd5
8152311: [JVMCI] allow JVMCI compiler to change the compilation policy for a method
dnsimon
parents:
38283
diff
changeset
|
551 |
declare_constant(JVMCIRuntime::by_holder) \ |
5ff19807abd5
8152311: [JVMCI] allow JVMCI compiler to change the compilation policy for a method
dnsimon
parents:
38283
diff
changeset
|
552 |
declare_constant(JVMCIRuntime::by_full_signature) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
553 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
554 |
declare_constant(Klass::_lh_neutral_value) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
555 |
declare_constant(Klass::_lh_instance_slow_path_bit) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
556 |
declare_constant(Klass::_lh_log2_element_size_shift) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
557 |
declare_constant(Klass::_lh_log2_element_size_mask) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
558 |
declare_constant(Klass::_lh_element_type_shift) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
559 |
declare_constant(Klass::_lh_element_type_mask) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
560 |
declare_constant(Klass::_lh_header_size_shift) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
561 |
declare_constant(Klass::_lh_header_size_mask) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
562 |
declare_constant(Klass::_lh_array_tag_shift) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
563 |
declare_constant(Klass::_lh_array_tag_type_value) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
564 |
declare_constant(Klass::_lh_array_tag_obj_value) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
565 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
566 |
declare_constant(markOopDesc::no_hash) \ |
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 |
declare_constant(Method::_caller_sensitive) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
569 |
declare_constant(Method::_force_inline) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
570 |
declare_constant(Method::_dont_inline) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
571 |
declare_constant(Method::_hidden) \ |
40878
5d87104b10d5
8164358: [JVMCI] expose Hotspot intrinsics and HotSpotIntrinsicCandidate info to JVMCI
dnsimon
parents:
40093
diff
changeset
|
572 |
declare_constant(Method::_intrinsic_candidate) \ |
36080
3bde85c47627
8150075: [JVMCI] expose reserved stack machinery and Inline flag in HotSpotVMConfig
never
parents:
35913
diff
changeset
|
573 |
declare_constant(Method::_reserved_stack_access) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
574 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
575 |
declare_constant(Method::nonvirtual_vtable_index) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
576 |
declare_constant(Method::invalid_vtable_index) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
577 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
578 |
declare_constant(MultiBranchData::per_case_cell_count) \ |
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(ReceiverTypeData::nonprofiled_count_off_set) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
581 |
declare_constant(ReceiverTypeData::receiver_type_row_cell_count) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
582 |
declare_constant(ReceiverTypeData::receiver0_offset) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
583 |
declare_constant(ReceiverTypeData::count0_offset) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
584 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
585 |
declare_constant(vmIntrinsics::_invokeBasic) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
586 |
declare_constant(vmIntrinsics::_linkToVirtual) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
587 |
declare_constant(vmIntrinsics::_linkToStatic) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
588 |
declare_constant(vmIntrinsics::_linkToSpecial) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
589 |
declare_constant(vmIntrinsics::_linkToInterface) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
590 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
591 |
declare_constant(vmSymbols::FIRST_SID) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
592 |
declare_constant(vmSymbols::SID_LIMIT) \ |
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 |
#define VM_LONG_CONSTANTS(declare_constant, declare_preprocessor_constant) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
595 |
declare_constant(InvocationCounter::count_increment) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
596 |
declare_constant(InvocationCounter::count_shift) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
597 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
598 |
declare_constant(markOopDesc::hash_shift) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
599 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
600 |
declare_constant(markOopDesc::biased_lock_mask_in_place) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
601 |
declare_constant(markOopDesc::age_mask_in_place) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
602 |
declare_constant(markOopDesc::epoch_mask_in_place) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
603 |
declare_constant(markOopDesc::hash_mask) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
604 |
declare_constant(markOopDesc::hash_mask_in_place) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
605 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
606 |
declare_constant(markOopDesc::unlocked_value) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
607 |
declare_constant(markOopDesc::biased_lock_pattern) \ |
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_constant(markOopDesc::no_hash_in_place) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
610 |
declare_constant(markOopDesc::no_lock_in_place) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
611 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
612 |
#define VM_ADDRESSES(declare_address, declare_preprocessor_address, declare_function) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
613 |
declare_function(SharedRuntime::register_finalizer) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
614 |
declare_function(SharedRuntime::exception_handler_for_return_address) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
615 |
declare_function(SharedRuntime::OSR_migration_end) \ |
36080
3bde85c47627
8150075: [JVMCI] expose reserved stack machinery and Inline flag in HotSpotVMConfig
never
parents:
35913
diff
changeset
|
616 |
declare_function(SharedRuntime::enable_stack_reserved_zone) \ |
39423
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
617 |
declare_function(SharedRuntime::frem) \ |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
618 |
declare_function(SharedRuntime::drem) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
619 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
620 |
declare_function(os::dll_load) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
621 |
declare_function(os::dll_lookup) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
622 |
declare_function(os::javaTimeMillis) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
623 |
declare_function(os::javaTimeNanos) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
624 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
625 |
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
|
626 |
declare_function(Deoptimization::uncommon_trap) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
627 |
declare_function(Deoptimization::unpack_frames) \ |
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 |
declare_function(JVMCIRuntime::new_instance) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
630 |
declare_function(JVMCIRuntime::new_array) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
631 |
declare_function(JVMCIRuntime::new_multi_array) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
632 |
declare_function(JVMCIRuntime::dynamic_new_array) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
633 |
declare_function(JVMCIRuntime::dynamic_new_instance) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
634 |
\ |
52033
d6aa9ea2405d
8208686: [AOT] JVMTI ResourceExhausted event repeated for same allocation
dnsimon
parents:
51444
diff
changeset
|
635 |
declare_function(JVMCIRuntime::new_instance_or_null) \ |
d6aa9ea2405d
8208686: [AOT] JVMTI ResourceExhausted event repeated for same allocation
dnsimon
parents:
51444
diff
changeset
|
636 |
declare_function(JVMCIRuntime::new_array_or_null) \ |
d6aa9ea2405d
8208686: [AOT] JVMTI ResourceExhausted event repeated for same allocation
dnsimon
parents:
51444
diff
changeset
|
637 |
declare_function(JVMCIRuntime::new_multi_array_or_null) \ |
d6aa9ea2405d
8208686: [AOT] JVMTI ResourceExhausted event repeated for same allocation
dnsimon
parents:
51444
diff
changeset
|
638 |
declare_function(JVMCIRuntime::dynamic_new_array_or_null) \ |
d6aa9ea2405d
8208686: [AOT] JVMTI ResourceExhausted event repeated for same allocation
dnsimon
parents:
51444
diff
changeset
|
639 |
declare_function(JVMCIRuntime::dynamic_new_instance_or_null) \ |
d6aa9ea2405d
8208686: [AOT] JVMTI ResourceExhausted event repeated for same allocation
dnsimon
parents:
51444
diff
changeset
|
640 |
\ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
641 |
declare_function(JVMCIRuntime::thread_is_interrupted) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
642 |
declare_function(JVMCIRuntime::vm_message) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
643 |
declare_function(JVMCIRuntime::identity_hash_code) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
644 |
declare_function(JVMCIRuntime::exception_handler_for_pc) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
645 |
declare_function(JVMCIRuntime::monitorenter) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
646 |
declare_function(JVMCIRuntime::monitorexit) \ |
49837
32ba0c867a46
8200196: [Graal] implement Object.notify/notifyAll intrinsics
dlong
parents:
49752
diff
changeset
|
647 |
declare_function(JVMCIRuntime::object_notify) \ |
32ba0c867a46
8200196: [Graal] implement Object.notify/notifyAll intrinsics
dlong
parents:
49752
diff
changeset
|
648 |
declare_function(JVMCIRuntime::object_notifyAll) \ |
36842
8f0d0faa51e2
8152634: generalize exception throwing routines in JVMCIRuntime
rschatz
parents:
36555
diff
changeset
|
649 |
declare_function(JVMCIRuntime::throw_and_post_jvmti_exception) \ |
8f0d0faa51e2
8152634: generalize exception throwing routines in JVMCIRuntime
rschatz
parents:
36555
diff
changeset
|
650 |
declare_function(JVMCIRuntime::throw_klass_external_name_exception) \ |
8f0d0faa51e2
8152634: generalize exception throwing routines in JVMCIRuntime
rschatz
parents:
36555
diff
changeset
|
651 |
declare_function(JVMCIRuntime::throw_class_cast_exception) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
652 |
declare_function(JVMCIRuntime::log_primitive) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
653 |
declare_function(JVMCIRuntime::log_object) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
654 |
declare_function(JVMCIRuntime::log_printf) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
655 |
declare_function(JVMCIRuntime::vm_error) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
656 |
declare_function(JVMCIRuntime::load_and_clear_exception) \ |
49982 | 657 |
G1GC_ONLY(declare_function(JVMCIRuntime::write_barrier_pre)) \ |
658 |
G1GC_ONLY(declare_function(JVMCIRuntime::write_barrier_post)) \ |
|
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
659 |
declare_function(JVMCIRuntime::validate_object) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
660 |
\ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
661 |
declare_function(JVMCIRuntime::test_deoptimize_call_int) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
662 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
663 |
|
49982 | 664 |
#if INCLUDE_G1GC |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
665 |
|
49730
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
49673
diff
changeset
|
666 |
#define VM_STRUCTS_JVMCI_G1GC(nonstatic_field, static_field) \ |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
667 |
static_field(HeapRegion, LogOfHRGrainBytes, int) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
668 |
|
49730
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
49673
diff
changeset
|
669 |
#define VM_INT_CONSTANTS_JVMCI_G1GC(declare_constant, declare_constant_with_value, declare_preprocessor_constant) \ |
49752
93d84f667d12
8201318: Introduce GCThreadLocalData to abstract GC-specific data belonging to a thread
pliden
parents:
49730
diff
changeset
|
670 |
declare_constant_with_value("G1CardTable::g1_young_gen", G1CardTable::g1_young_card_val()) \ |
93d84f667d12
8201318: Introduce GCThreadLocalData to abstract GC-specific data belonging to a thread
pliden
parents:
49730
diff
changeset
|
671 |
declare_constant_with_value("G1ThreadLocalData::satb_mark_queue_active_offset", in_bytes(G1ThreadLocalData::satb_mark_queue_active_offset())) \ |
93d84f667d12
8201318: Introduce GCThreadLocalData to abstract GC-specific data belonging to a thread
pliden
parents:
49730
diff
changeset
|
672 |
declare_constant_with_value("G1ThreadLocalData::satb_mark_queue_index_offset", in_bytes(G1ThreadLocalData::satb_mark_queue_index_offset())) \ |
93d84f667d12
8201318: Introduce GCThreadLocalData to abstract GC-specific data belonging to a thread
pliden
parents:
49730
diff
changeset
|
673 |
declare_constant_with_value("G1ThreadLocalData::satb_mark_queue_buffer_offset", in_bytes(G1ThreadLocalData::satb_mark_queue_buffer_offset())) \ |
93d84f667d12
8201318: Introduce GCThreadLocalData to abstract GC-specific data belonging to a thread
pliden
parents:
49730
diff
changeset
|
674 |
declare_constant_with_value("G1ThreadLocalData::dirty_card_queue_index_offset", in_bytes(G1ThreadLocalData::dirty_card_queue_index_offset())) \ |
93d84f667d12
8201318: Introduce GCThreadLocalData to abstract GC-specific data belonging to a thread
pliden
parents:
49730
diff
changeset
|
675 |
declare_constant_with_value("G1ThreadLocalData::dirty_card_queue_buffer_offset", in_bytes(G1ThreadLocalData::dirty_card_queue_buffer_offset())) |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
676 |
|
49982 | 677 |
#endif // INCLUDE_G1GC |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
678 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
679 |
|
40010 | 680 |
#ifdef LINUX |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
681 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
682 |
#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
|
683 |
declare_preprocessor_address("RTLD_DEFAULT", RTLD_DEFAULT) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
684 |
|
40010 | 685 |
#endif |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
686 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
687 |
|
40010 | 688 |
#ifdef BSD |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
689 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
690 |
#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
|
691 |
declare_preprocessor_address("RTLD_DEFAULT", RTLD_DEFAULT) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
692 |
|
40010 | 693 |
#endif |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
694 |
|
40010 | 695 |
// AARCH64 is defined in closed port, too. TARGET_ARCH_aarch64 is not. |
36329 | 696 |
#ifdef TARGET_ARCH_aarch64 |
697 |
||
698 |
#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) \ |
|
699 |
volatile_nonstatic_field(JavaFrameAnchor, _last_Java_fp, intptr_t*) |
|
700 |
||
49673
46b2f783116c
8200524: AArch64: CPUFeature and Flag enums are not passed through JVMCI
dstewart
parents:
49347
diff
changeset
|
701 |
#define VM_INT_CONSTANTS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant) \ |
46b2f783116c
8200524: AArch64: CPUFeature and Flag enums are not passed through JVMCI
dstewart
parents:
49347
diff
changeset
|
702 |
declare_constant(VM_Version::CPU_FP) \ |
46b2f783116c
8200524: AArch64: CPUFeature and Flag enums are not passed through JVMCI
dstewart
parents:
49347
diff
changeset
|
703 |
declare_constant(VM_Version::CPU_ASIMD) \ |
46b2f783116c
8200524: AArch64: CPUFeature and Flag enums are not passed through JVMCI
dstewart
parents:
49347
diff
changeset
|
704 |
declare_constant(VM_Version::CPU_EVTSTRM) \ |
46b2f783116c
8200524: AArch64: CPUFeature and Flag enums are not passed through JVMCI
dstewart
parents:
49347
diff
changeset
|
705 |
declare_constant(VM_Version::CPU_AES) \ |
46b2f783116c
8200524: AArch64: CPUFeature and Flag enums are not passed through JVMCI
dstewart
parents:
49347
diff
changeset
|
706 |
declare_constant(VM_Version::CPU_PMULL) \ |
46b2f783116c
8200524: AArch64: CPUFeature and Flag enums are not passed through JVMCI
dstewart
parents:
49347
diff
changeset
|
707 |
declare_constant(VM_Version::CPU_SHA1) \ |
46b2f783116c
8200524: AArch64: CPUFeature and Flag enums are not passed through JVMCI
dstewart
parents:
49347
diff
changeset
|
708 |
declare_constant(VM_Version::CPU_SHA2) \ |
46b2f783116c
8200524: AArch64: CPUFeature and Flag enums are not passed through JVMCI
dstewart
parents:
49347
diff
changeset
|
709 |
declare_constant(VM_Version::CPU_CRC32) \ |
46b2f783116c
8200524: AArch64: CPUFeature and Flag enums are not passed through JVMCI
dstewart
parents:
49347
diff
changeset
|
710 |
declare_constant(VM_Version::CPU_LSE) \ |
46b2f783116c
8200524: AArch64: CPUFeature and Flag enums are not passed through JVMCI
dstewart
parents:
49347
diff
changeset
|
711 |
declare_constant(VM_Version::CPU_STXR_PREFETCH) \ |
46b2f783116c
8200524: AArch64: CPUFeature and Flag enums are not passed through JVMCI
dstewart
parents:
49347
diff
changeset
|
712 |
declare_constant(VM_Version::CPU_A53MAC) \ |
46b2f783116c
8200524: AArch64: CPUFeature and Flag enums are not passed through JVMCI
dstewart
parents:
49347
diff
changeset
|
713 |
declare_constant(VM_Version::CPU_DMB_ATOMICS) |
46b2f783116c
8200524: AArch64: CPUFeature and Flag enums are not passed through JVMCI
dstewart
parents:
49347
diff
changeset
|
714 |
|
40010 | 715 |
#endif |
36329 | 716 |
|
717 |
||
40010 | 718 |
#ifdef X86 |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
719 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
720 |
#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 | 721 |
volatile_nonstatic_field(JavaFrameAnchor, _last_Java_fp, intptr_t*) |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
722 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
723 |
#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
|
724 |
LP64_ONLY(declare_constant(frame::arg_reg_save_area_bytes)) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
725 |
declare_constant(frame::interpreter_frame_sender_sp_offset) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
726 |
declare_constant(frame::interpreter_frame_last_sp_offset) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
727 |
declare_constant(VM_Version::CPU_CX8) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
728 |
declare_constant(VM_Version::CPU_CMOV) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
729 |
declare_constant(VM_Version::CPU_FXSR) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
730 |
declare_constant(VM_Version::CPU_HT) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
731 |
declare_constant(VM_Version::CPU_MMX) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
732 |
declare_constant(VM_Version::CPU_3DNOW_PREFETCH) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
733 |
declare_constant(VM_Version::CPU_SSE) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
734 |
declare_constant(VM_Version::CPU_SSE2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
735 |
declare_constant(VM_Version::CPU_SSE3) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
736 |
declare_constant(VM_Version::CPU_SSSE3) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
737 |
declare_constant(VM_Version::CPU_SSE4A) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
738 |
declare_constant(VM_Version::CPU_SSE4_1) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
739 |
declare_constant(VM_Version::CPU_SSE4_2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
740 |
declare_constant(VM_Version::CPU_POPCNT) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
741 |
declare_constant(VM_Version::CPU_LZCNT) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
742 |
declare_constant(VM_Version::CPU_TSC) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
743 |
declare_constant(VM_Version::CPU_TSCINV) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
744 |
declare_constant(VM_Version::CPU_AVX) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
745 |
declare_constant(VM_Version::CPU_AVX2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
746 |
declare_constant(VM_Version::CPU_AES) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
747 |
declare_constant(VM_Version::CPU_ERMS) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
748 |
declare_constant(VM_Version::CPU_CLMUL) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
749 |
declare_constant(VM_Version::CPU_BMI1) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
750 |
declare_constant(VM_Version::CPU_BMI2) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
751 |
declare_constant(VM_Version::CPU_RTM) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
752 |
declare_constant(VM_Version::CPU_ADX) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
753 |
declare_constant(VM_Version::CPU_AVX512F) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
754 |
declare_constant(VM_Version::CPU_AVX512DQ) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
755 |
declare_constant(VM_Version::CPU_AVX512PF) \ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
756 |
declare_constant(VM_Version::CPU_AVX512ER) \ |
36555 | 757 |
declare_constant(VM_Version::CPU_AVX512CD) |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
758 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
759 |
#define VM_LONG_CONSTANTS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant) \ |
36555 | 760 |
declare_preprocessor_constant("VM_Version::CPU_AVX512BW", CPU_AVX512BW) \ |
761 |
declare_preprocessor_constant("VM_Version::CPU_AVX512VL", CPU_AVX512VL) \ |
|
41323 | 762 |
declare_preprocessor_constant("VM_Version::CPU_SHA", CPU_SHA) \ |
46440
61025eecb743
8178811: Minimize the AVX <-> SSE transition penalty through generation of vzeroupper instruction on x86
vdeshpande
parents:
44083
diff
changeset
|
763 |
declare_preprocessor_constant("VM_Version::CPU_FMA", CPU_FMA) \ |
61025eecb743
8178811: Minimize the AVX <-> SSE transition penalty through generation of vzeroupper instruction on x86
vdeshpande
parents:
44083
diff
changeset
|
764 |
declare_preprocessor_constant("VM_Version::CPU_VZEROUPPER", CPU_VZEROUPPER) |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
765 |
|
40010 | 766 |
#endif |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
767 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
768 |
|
40010 | 769 |
#ifdef SPARC |
35133 | 770 |
|
771 |
#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 | 772 |
volatile_nonstatic_field(JavaFrameAnchor, _flags, int) |
35133 | 773 |
|
774 |
#define VM_INT_CONSTANTS_CPU(declare_constant, declare_preprocessor_constant, declare_c1_constant, declare_c2_constant, declare_c2_preprocessor_constant) \ |
|
46592
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
775 |
declare_constant(VM_Version::ISA_V9) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
776 |
declare_constant(VM_Version::ISA_POPC) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
777 |
declare_constant(VM_Version::ISA_VIS1) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
778 |
declare_constant(VM_Version::ISA_VIS2) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
779 |
declare_constant(VM_Version::ISA_BLK_INIT) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
780 |
declare_constant(VM_Version::ISA_FMAF) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
781 |
declare_constant(VM_Version::ISA_VIS3) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
782 |
declare_constant(VM_Version::ISA_HPC) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
783 |
declare_constant(VM_Version::ISA_IMA) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
784 |
declare_constant(VM_Version::ISA_AES) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
785 |
declare_constant(VM_Version::ISA_DES) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
786 |
declare_constant(VM_Version::ISA_KASUMI) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
787 |
declare_constant(VM_Version::ISA_CAMELLIA) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
788 |
declare_constant(VM_Version::ISA_MD5) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
789 |
declare_constant(VM_Version::ISA_SHA1) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
790 |
declare_constant(VM_Version::ISA_SHA256) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
791 |
declare_constant(VM_Version::ISA_SHA512) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
792 |
declare_constant(VM_Version::ISA_MPMUL) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
793 |
declare_constant(VM_Version::ISA_MONT) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
794 |
declare_constant(VM_Version::ISA_PAUSE) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
795 |
declare_constant(VM_Version::ISA_CBCOND) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
796 |
declare_constant(VM_Version::ISA_CRC32C) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
797 |
declare_constant(VM_Version::ISA_VIS3B) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
798 |
declare_constant(VM_Version::ISA_ADI) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
799 |
declare_constant(VM_Version::ISA_SPARC5) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
800 |
declare_constant(VM_Version::ISA_MWAIT) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
801 |
declare_constant(VM_Version::ISA_XMPMUL) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
802 |
declare_constant(VM_Version::ISA_XMONT) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
803 |
declare_constant(VM_Version::ISA_PAUSE_NSEC) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
804 |
declare_constant(VM_Version::ISA_VAMASK) \ |
47562
f789ccebcfe4
8182279: Updating SPARC feature/capability detection to support Core C5.
neliasso
parents:
47216
diff
changeset
|
805 |
declare_constant(VM_Version::ISA_SPARC6) \ |
f789ccebcfe4
8182279: Updating SPARC feature/capability detection to support Core C5.
neliasso
parents:
47216
diff
changeset
|
806 |
declare_constant(VM_Version::ISA_DICTUNP) \ |
f789ccebcfe4
8182279: Updating SPARC feature/capability detection to support Core C5.
neliasso
parents:
47216
diff
changeset
|
807 |
declare_constant(VM_Version::ISA_FPCMPSHL) \ |
f789ccebcfe4
8182279: Updating SPARC feature/capability detection to support Core C5.
neliasso
parents:
47216
diff
changeset
|
808 |
declare_constant(VM_Version::ISA_RLE) \ |
f789ccebcfe4
8182279: Updating SPARC feature/capability detection to support Core C5.
neliasso
parents:
47216
diff
changeset
|
809 |
declare_constant(VM_Version::ISA_SHA3) \ |
f789ccebcfe4
8182279: Updating SPARC feature/capability detection to support Core C5.
neliasso
parents:
47216
diff
changeset
|
810 |
declare_constant(VM_Version::ISA_VIS3C) \ |
f789ccebcfe4
8182279: Updating SPARC feature/capability detection to support Core C5.
neliasso
parents:
47216
diff
changeset
|
811 |
declare_constant(VM_Version::ISA_SPARC5B) \ |
f789ccebcfe4
8182279: Updating SPARC feature/capability detection to support Core C5.
neliasso
parents:
47216
diff
changeset
|
812 |
declare_constant(VM_Version::ISA_MME) \ |
46592
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
813 |
declare_constant(VM_Version::CPU_FAST_IDIV) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
814 |
declare_constant(VM_Version::CPU_FAST_RDPC) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
815 |
declare_constant(VM_Version::CPU_FAST_BIS) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
816 |
declare_constant(VM_Version::CPU_FAST_LD) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
817 |
declare_constant(VM_Version::CPU_FAST_CMOVE) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
818 |
declare_constant(VM_Version::CPU_FAST_IND_BR) \ |
6e357e2c8143
8172231: SPARC ISA/CPU feature detection is broken/insufficient (on Solaris)
neliasso
parents:
46440
diff
changeset
|
819 |
declare_constant(VM_Version::CPU_BLK_ZEROING) |
40010 | 820 |
#endif |
35133 | 821 |
|
822 |
||
35123
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 |
* Dummy defines for architectures that don't use these. |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
825 |
*/ |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
826 |
#ifndef VM_STRUCTS_CPU |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
827 |
#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
|
828 |
#endif |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
829 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
830 |
#ifndef VM_TYPES_CPU |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
831 |
#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
|
832 |
#endif |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
833 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
834 |
#ifndef VM_INT_CONSTANTS_CPU |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
835 |
#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
|
836 |
#endif |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
837 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
838 |
#ifndef VM_LONG_CONSTANTS_CPU |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
839 |
#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
|
840 |
#endif |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
841 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
842 |
#ifndef VM_STRUCTS_OS |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
843 |
#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
|
844 |
#endif |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
845 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
846 |
#ifndef VM_TYPES_OS |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
847 |
#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
|
848 |
#endif |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
849 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
850 |
#ifndef VM_INT_CONSTANTS_OS |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
851 |
#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
|
852 |
#endif |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
853 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
854 |
#ifndef VM_LONG_CONSTANTS_OS |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
855 |
#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
|
856 |
#endif |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
857 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
858 |
#ifndef VM_ADDRESSES_OS |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
859 |
#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
|
860 |
#endif |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
861 |
|
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 |
// |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
864 |
// Instantiation of VMStructEntries, VMTypeEntries and VMIntConstantEntries |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
865 |
// |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
866 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
867 |
// These initializers are allowed to access private fields in classes |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
868 |
// as long as class VMStructs is a friend |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
869 |
VMStructEntry JVMCIVMStructs::localHotSpotVMStructs[] = { |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
870 |
VM_STRUCTS(GENERATE_NONSTATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
871 |
GENERATE_STATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
872 |
GENERATE_UNCHECKED_NONSTATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
873 |
GENERATE_NONSTATIC_VM_STRUCT_ENTRY) |
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 |
VM_STRUCTS_OS(GENERATE_NONSTATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
876 |
GENERATE_STATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
877 |
GENERATE_UNCHECKED_NONSTATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
878 |
GENERATE_NONSTATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
879 |
GENERATE_NONPRODUCT_NONSTATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
880 |
GENERATE_C2_NONSTATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
881 |
GENERATE_C1_UNCHECKED_STATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
882 |
GENERATE_C2_UNCHECKED_STATIC_VM_STRUCT_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
883 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
884 |
VM_STRUCTS_CPU(GENERATE_NONSTATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
885 |
GENERATE_STATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
886 |
GENERATE_UNCHECKED_NONSTATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
887 |
GENERATE_NONSTATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
888 |
GENERATE_NONPRODUCT_NONSTATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
889 |
GENERATE_C2_NONSTATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
890 |
GENERATE_C1_UNCHECKED_STATIC_VM_STRUCT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
891 |
GENERATE_C2_UNCHECKED_STATIC_VM_STRUCT_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
892 |
|
49982 | 893 |
#if INCLUDE_G1GC |
49730
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
49673
diff
changeset
|
894 |
VM_STRUCTS_JVMCI_G1GC(GENERATE_NONSTATIC_VM_STRUCT_ENTRY, |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
49673
diff
changeset
|
895 |
GENERATE_STATIC_VM_STRUCT_ENTRY) |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
896 |
#endif |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
897 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
898 |
GENERATE_VM_STRUCT_LAST_ENTRY() |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
899 |
}; |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
900 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
901 |
VMTypeEntry JVMCIVMStructs::localHotSpotVMTypes[] = { |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
902 |
VM_TYPES(GENERATE_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
903 |
GENERATE_TOPLEVEL_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
904 |
GENERATE_INTEGER_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
905 |
GENERATE_UNSIGNED_INTEGER_VM_TYPE_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
906 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
907 |
VM_TYPES_OS(GENERATE_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
908 |
GENERATE_TOPLEVEL_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
909 |
GENERATE_OOP_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
910 |
GENERATE_INTEGER_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
911 |
GENERATE_UNSIGNED_INTEGER_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
912 |
GENERATE_C1_TOPLEVEL_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
913 |
GENERATE_C2_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
914 |
GENERATE_C2_TOPLEVEL_VM_TYPE_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
915 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
916 |
VM_TYPES_CPU(GENERATE_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
917 |
GENERATE_TOPLEVEL_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
918 |
GENERATE_OOP_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
919 |
GENERATE_INTEGER_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
920 |
GENERATE_UNSIGNED_INTEGER_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
921 |
GENERATE_C1_TOPLEVEL_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
922 |
GENERATE_C2_VM_TYPE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
923 |
GENERATE_C2_TOPLEVEL_VM_TYPE_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
924 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
925 |
GENERATE_VM_TYPE_LAST_ENTRY() |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
926 |
}; |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
927 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
928 |
VMIntConstantEntry JVMCIVMStructs::localHotSpotVMIntConstants[] = { |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
929 |
VM_INT_CONSTANTS(GENERATE_VM_INT_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
930 |
GENERATE_VM_INT_CONSTANT_WITH_VALUE_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
931 |
GENERATE_PREPROCESSOR_VM_INT_CONSTANT_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
932 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
933 |
VM_INT_CONSTANTS_OS(GENERATE_VM_INT_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
934 |
GENERATE_PREPROCESSOR_VM_INT_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
935 |
GENERATE_C1_VM_INT_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
936 |
GENERATE_C2_VM_INT_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
937 |
GENERATE_C2_PREPROCESSOR_VM_INT_CONSTANT_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
938 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
939 |
VM_INT_CONSTANTS_CPU(GENERATE_VM_INT_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
940 |
GENERATE_PREPROCESSOR_VM_INT_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
941 |
GENERATE_C1_VM_INT_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
942 |
GENERATE_C2_VM_INT_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
943 |
GENERATE_C2_PREPROCESSOR_VM_INT_CONSTANT_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
944 |
|
49982 | 945 |
#if INCLUDE_G1GC |
49730
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
49673
diff
changeset
|
946 |
VM_INT_CONSTANTS_JVMCI_G1GC(GENERATE_VM_INT_CONSTANT_ENTRY, |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
49673
diff
changeset
|
947 |
GENERATE_VM_INT_CONSTANT_WITH_VALUE_ENTRY, |
c2761ef9fd95
8200759: Move GC entries in vmStructs.cpp to GC specific files
stefank
parents:
49673
diff
changeset
|
948 |
GENERATE_PREPROCESSOR_VM_INT_CONSTANT_ENTRY) |
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
949 |
#endif |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
950 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
951 |
GENERATE_VM_INT_CONSTANT_LAST_ENTRY() |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
952 |
}; |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
953 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
954 |
VMLongConstantEntry JVMCIVMStructs::localHotSpotVMLongConstants[] = { |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
955 |
VM_LONG_CONSTANTS(GENERATE_VM_LONG_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
956 |
GENERATE_PREPROCESSOR_VM_LONG_CONSTANT_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
957 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
958 |
VM_LONG_CONSTANTS_OS(GENERATE_VM_LONG_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
959 |
GENERATE_PREPROCESSOR_VM_LONG_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
960 |
GENERATE_C1_VM_LONG_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
961 |
GENERATE_C2_VM_LONG_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
962 |
GENERATE_C2_PREPROCESSOR_VM_LONG_CONSTANT_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
963 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
964 |
VM_LONG_CONSTANTS_CPU(GENERATE_VM_LONG_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
965 |
GENERATE_PREPROCESSOR_VM_LONG_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
966 |
GENERATE_C1_VM_LONG_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
967 |
GENERATE_C2_VM_LONG_CONSTANT_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
968 |
GENERATE_C2_PREPROCESSOR_VM_LONG_CONSTANT_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
969 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
970 |
GENERATE_VM_LONG_CONSTANT_LAST_ENTRY() |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
971 |
}; |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
972 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
973 |
VMAddressEntry JVMCIVMStructs::localHotSpotVMAddresses[] = { |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
974 |
VM_ADDRESSES(GENERATE_VM_ADDRESS_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
975 |
GENERATE_PREPROCESSOR_VM_ADDRESS_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
976 |
GENERATE_VM_FUNCTION_ENTRY) |
42650 | 977 |
VM_ADDRESSES_COMPILER_RUNTIME(GENERATE_VM_ADDRESS_ENTRY, |
978 |
GENERATE_PREPROCESSOR_VM_ADDRESS_ENTRY, |
|
979 |
GENERATE_VM_FUNCTION_ENTRY) |
|
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
980 |
VM_ADDRESSES_OS(GENERATE_VM_ADDRESS_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
981 |
GENERATE_PREPROCESSOR_VM_ADDRESS_ENTRY, |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
982 |
GENERATE_VM_FUNCTION_ENTRY) |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
983 |
|
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
984 |
GENERATE_VM_ADDRESS_LAST_ENTRY() |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
985 |
}; |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
986 |
|
39423
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
987 |
int JVMCIVMStructs::localHotSpotVMStructs_count() { |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
988 |
// Ignore sentinel entry at the end |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
989 |
return (sizeof(localHotSpotVMStructs) / sizeof(VMStructEntry)) - 1; |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
990 |
} |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
991 |
int JVMCIVMStructs::localHotSpotVMTypes_count() { |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
992 |
// Ignore sentinel entry at the end |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
993 |
return (sizeof(localHotSpotVMTypes) / sizeof(VMTypeEntry)) - 1; |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
994 |
} |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
995 |
int JVMCIVMStructs::localHotSpotVMIntConstants_count() { |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
996 |
// Ignore sentinel entry at the end |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
997 |
return (sizeof(localHotSpotVMIntConstants) / sizeof(VMIntConstantEntry)) - 1; |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
998 |
} |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
999 |
int JVMCIVMStructs::localHotSpotVMLongConstants_count() { |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
1000 |
// Ignore sentinel entry at the end |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
1001 |
return (sizeof(localHotSpotVMLongConstants) / sizeof(VMLongConstantEntry)) - 1; |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
1002 |
} |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
1003 |
int JVMCIVMStructs::localHotSpotVMAddresses_count() { |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
1004 |
// Ignore sentinel entry at the end |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
1005 |
return (sizeof(localHotSpotVMAddresses) / sizeof(VMAddressEntry)) - 1; |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
1006 |
} |
0f8dc3693499
8159167: [JVMCI] fix HotSpotVMConfig startup performance
rschatz
parents:
38666
diff
changeset
|
1007 |
|
35123
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
1008 |
extern "C" { |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
1009 |
JNIEXPORT VMStructEntry* jvmciHotSpotVMStructs = JVMCIVMStructs::localHotSpotVMStructs; |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
1010 |
JNIEXPORT VMTypeEntry* jvmciHotSpotVMTypes = JVMCIVMStructs::localHotSpotVMTypes; |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
1011 |
JNIEXPORT VMIntConstantEntry* jvmciHotSpotVMIntConstants = JVMCIVMStructs::localHotSpotVMIntConstants; |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
1012 |
JNIEXPORT VMLongConstantEntry* jvmciHotSpotVMLongConstants = JVMCIVMStructs::localHotSpotVMLongConstants; |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
1013 |
JNIEXPORT VMAddressEntry* jvmciHotSpotVMAddresses = JVMCIVMStructs::localHotSpotVMAddresses; |
b0b89d83bcf5
8134994: use separate VMStructs databases for SA and JVMCI
twisti
parents:
diff
changeset
|
1014 |
} |