author | jwilhelm |
Sun, 25 Feb 2018 04:59:43 +0100 | |
changeset 49067 | c153e9daadce |
parent 47216 | 71c04702a3d5 |
child 53244 | 9807daeb47c4 |
permissions | -rw-r--r-- |
10546 | 1 |
/* |
46329
53ccc37bda19
8155672: Remove instanceKlassHandles and KlassHandles
coleenp
parents:
33593
diff
changeset
|
2 |
* Copyright (c) 2011, 2017, Oracle and/or its affiliates. All rights reserved. |
10546 | 3 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 |
* |
|
5 |
* This code is free software; you can redistribute it and/or modify it |
|
6 |
* under the terms of the GNU General Public License version 2 only, as |
|
7 |
* published by the Free Software Foundation. |
|
8 |
* |
|
9 |
* This code is distributed in the hope that it will be useful, but WITHOUT |
|
10 |
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
11 |
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
12 |
* version 2 for more details (a copy is included in the LICENSE file that |
|
13 |
* accompanied this code). |
|
14 |
* |
|
15 |
* You should have received a copy of the GNU General Public License version |
|
16 |
* 2 along with this work; if not, write to the Free Software Foundation, |
|
17 |
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
|
18 |
* |
|
19 |
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
|
20 |
* or visit www.oracle.com if you need additional information or have any |
|
21 |
* questions. |
|
22 |
* |
|
23 |
*/ |
|
24 |
||
25 |
#ifndef SHARE_VM_OOPS_FIELDSTREAMS_HPP |
|
26 |
#define SHARE_VM_OOPS_FIELDSTREAMS_HPP |
|
27 |
||
28 |
#include "oops/instanceKlass.hpp" |
|
29 |
#include "oops/fieldInfo.hpp" |
|
20017
81eba62e9048
8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
drchase
parents:
15193
diff
changeset
|
30 |
#include "runtime/fieldDescriptor.hpp" |
10546 | 31 |
|
32 |
// The is the base class for iteration over the fields array |
|
33 |
// describing the declared fields in the class. Several subclasses |
|
34 |
// are provided depending on the kind of iteration required. The |
|
35 |
// JavaFieldStream is for iterating over regular Java fields and it |
|
36 |
// generally the preferred iterator. InternalFieldStream only |
|
37 |
// iterates over fields that have been injected by the JVM. |
|
38 |
// AllFieldStream exposes all fields and should only be used in rare |
|
39 |
// cases. |
|
40 |
class FieldStreamBase : public StackObj { |
|
41 |
protected: |
|
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
12772
diff
changeset
|
42 |
Array<u2>* _fields; |
10546 | 43 |
constantPoolHandle _constants; |
44 |
int _index; |
|
45 |
int _limit; |
|
12772
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
46 |
int _generic_signature_slot; |
20017
81eba62e9048
8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
drchase
parents:
15193
diff
changeset
|
47 |
fieldDescriptor _fd_buf; |
10546 | 48 |
|
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
12772
diff
changeset
|
49 |
FieldInfo* field() const { return FieldInfo::from_field_array(_fields, _index); } |
20017
81eba62e9048
8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
drchase
parents:
15193
diff
changeset
|
50 |
InstanceKlass* field_holder() const { return _constants->pool_holder(); } |
10546 | 51 |
|
12772
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
52 |
int init_generic_signature_start_slot() { |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
53 |
int length = _fields->length(); |
28396
7fe4347e6792
6700100: optimize inline_native_clone() for small objects with exact klass
roland
parents:
20017
diff
changeset
|
54 |
int num_fields = _index; |
12772
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
55 |
int skipped_generic_signature_slots = 0; |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
56 |
FieldInfo* fi; |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
57 |
AccessFlags flags; |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
58 |
/* Scan from 0 to the current _index. Count the number of generic |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
59 |
signature slots for field[0] to field[_index - 1]. */ |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
60 |
for (int i = 0; i < _index; i++) { |
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
12772
diff
changeset
|
61 |
fi = FieldInfo::from_field_array(_fields, i); |
12772
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
62 |
flags.set_flags(fi->access_flags()); |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
63 |
if (flags.field_has_generic_signature()) { |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
64 |
length --; |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
65 |
skipped_generic_signature_slots ++; |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
66 |
} |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
67 |
} |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
68 |
/* Scan from the current _index. */ |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
69 |
for (int i = _index; i*FieldInfo::field_slots < length; i++) { |
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
12772
diff
changeset
|
70 |
fi = FieldInfo::from_field_array(_fields, i); |
12772
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
71 |
flags.set_flags(fi->access_flags()); |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
72 |
if (flags.field_has_generic_signature()) { |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
73 |
length --; |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
74 |
} |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
75 |
num_fields ++; |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
76 |
} |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
77 |
_generic_signature_slot = length + skipped_generic_signature_slots; |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
78 |
assert(_generic_signature_slot <= _fields->length(), ""); |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
79 |
return num_fields; |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
80 |
} |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
81 |
|
33593
60764a78fa5c
8140274: methodHandles and constantPoolHandles should be passed as const references
coleenp
parents:
28396
diff
changeset
|
82 |
FieldStreamBase(Array<u2>* fields, const constantPoolHandle& constants, int start, int limit) { |
10546 | 83 |
_fields = fields; |
84 |
_constants = constants; |
|
85 |
_index = start; |
|
12772
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
86 |
int num_fields = init_generic_signature_start_slot(); |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
87 |
if (limit < start) { |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
88 |
_limit = num_fields; |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
89 |
} else { |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
90 |
_limit = limit; |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
91 |
} |
10546 | 92 |
} |
93 |
||
33593
60764a78fa5c
8140274: methodHandles and constantPoolHandles should be passed as const references
coleenp
parents:
28396
diff
changeset
|
94 |
FieldStreamBase(Array<u2>* fields, const constantPoolHandle& constants) { |
10546 | 95 |
_fields = fields; |
96 |
_constants = constants; |
|
97 |
_index = 0; |
|
12772
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
98 |
_limit = init_generic_signature_start_slot(); |
10546 | 99 |
} |
100 |
||
101 |
public: |
|
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
12772
diff
changeset
|
102 |
FieldStreamBase(InstanceKlass* klass) { |
10546 | 103 |
_fields = klass->fields(); |
104 |
_constants = klass->constants(); |
|
105 |
_index = 0; |
|
106 |
_limit = klass->java_fields_count(); |
|
12772
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
107 |
init_generic_signature_start_slot(); |
20017
81eba62e9048
8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
drchase
parents:
15193
diff
changeset
|
108 |
assert(klass == field_holder(), ""); |
10546 | 109 |
} |
110 |
||
111 |
// accessors |
|
112 |
int index() const { return _index; } |
|
113 |
||
12772
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
114 |
void next() { |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
115 |
if (access_flags().field_has_generic_signature()) { |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
116 |
_generic_signature_slot ++; |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
117 |
assert(_generic_signature_slot <= _fields->length(), ""); |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
118 |
} |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
119 |
_index += 1; |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
120 |
} |
10546 | 121 |
bool done() const { return _index >= _limit; } |
122 |
||
123 |
// Accessors for current field |
|
124 |
AccessFlags access_flags() const { |
|
125 |
AccessFlags flags; |
|
126 |
flags.set_flags(field()->access_flags()); |
|
127 |
return flags; |
|
128 |
} |
|
129 |
||
130 |
void set_access_flags(u2 flags) const { |
|
131 |
field()->set_access_flags(flags); |
|
132 |
} |
|
133 |
||
134 |
void set_access_flags(AccessFlags flags) const { |
|
135 |
set_access_flags(flags.as_short()); |
|
136 |
} |
|
137 |
||
138 |
Symbol* name() const { |
|
139 |
return field()->name(_constants); |
|
140 |
} |
|
141 |
||
142 |
Symbol* signature() const { |
|
143 |
return field()->signature(_constants); |
|
144 |
} |
|
145 |
||
146 |
Symbol* generic_signature() const { |
|
12772
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
147 |
if (access_flags().field_has_generic_signature()) { |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
148 |
assert(_generic_signature_slot < _fields->length(), "out of bounds"); |
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
12772
diff
changeset
|
149 |
int index = _fields->at(_generic_signature_slot); |
12772
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
150 |
return _constants->symbol_at(index); |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
151 |
} else { |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
152 |
return NULL; |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
153 |
} |
10546 | 154 |
} |
155 |
||
156 |
int offset() const { |
|
157 |
return field()->offset(); |
|
158 |
} |
|
159 |
||
15193
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
13728
diff
changeset
|
160 |
int allocation_type() const { |
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
13728
diff
changeset
|
161 |
return field()->allocation_type(); |
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
13728
diff
changeset
|
162 |
} |
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
13728
diff
changeset
|
163 |
|
10546 | 164 |
void set_offset(int offset) { |
165 |
field()->set_offset(offset); |
|
166 |
} |
|
15193
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
13728
diff
changeset
|
167 |
|
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
13728
diff
changeset
|
168 |
bool is_offset_set() const { |
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
13728
diff
changeset
|
169 |
return field()->is_offset_set(); |
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
13728
diff
changeset
|
170 |
} |
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
13728
diff
changeset
|
171 |
|
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
13728
diff
changeset
|
172 |
bool is_contended() const { |
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
13728
diff
changeset
|
173 |
return field()->is_contended(); |
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
13728
diff
changeset
|
174 |
} |
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
13728
diff
changeset
|
175 |
|
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
13728
diff
changeset
|
176 |
int contended_group() const { |
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
13728
diff
changeset
|
177 |
return field()->contended_group(); |
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
13728
diff
changeset
|
178 |
} |
8e6b5694267f
8003985: Support @Contended Annotation - JEP 142
jwilhelm
parents:
13728
diff
changeset
|
179 |
|
20017
81eba62e9048
8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
drchase
parents:
15193
diff
changeset
|
180 |
// bridge to a heavier API: |
81eba62e9048
8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
drchase
parents:
15193
diff
changeset
|
181 |
fieldDescriptor& field_descriptor() const { |
81eba62e9048
8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
drchase
parents:
15193
diff
changeset
|
182 |
fieldDescriptor& field = const_cast<fieldDescriptor&>(_fd_buf); |
81eba62e9048
8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
drchase
parents:
15193
diff
changeset
|
183 |
field.reinitialize(field_holder(), _index); |
81eba62e9048
8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
drchase
parents:
15193
diff
changeset
|
184 |
return field; |
81eba62e9048
8014013: CallInfo structure no longer accurately reports the result of a LinkResolver operation
drchase
parents:
15193
diff
changeset
|
185 |
} |
10546 | 186 |
}; |
187 |
||
188 |
// Iterate over only the internal fields |
|
189 |
class JavaFieldStream : public FieldStreamBase { |
|
190 |
public: |
|
46329
53ccc37bda19
8155672: Remove instanceKlassHandles and KlassHandles
coleenp
parents:
33593
diff
changeset
|
191 |
JavaFieldStream(const InstanceKlass* k): FieldStreamBase(k->fields(), k->constants(), 0, k->java_fields_count()) {} |
10546 | 192 |
|
193 |
int name_index() const { |
|
194 |
assert(!field()->is_internal(), "regular only"); |
|
195 |
return field()->name_index(); |
|
196 |
} |
|
197 |
void set_name_index(int index) { |
|
198 |
assert(!field()->is_internal(), "regular only"); |
|
199 |
field()->set_name_index(index); |
|
200 |
} |
|
201 |
int signature_index() const { |
|
202 |
assert(!field()->is_internal(), "regular only"); |
|
203 |
return field()->signature_index(); |
|
204 |
} |
|
205 |
void set_signature_index(int index) { |
|
206 |
assert(!field()->is_internal(), "regular only"); |
|
207 |
field()->set_signature_index(index); |
|
208 |
} |
|
209 |
int generic_signature_index() const { |
|
210 |
assert(!field()->is_internal(), "regular only"); |
|
12772
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
211 |
if (access_flags().field_has_generic_signature()) { |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
212 |
assert(_generic_signature_slot < _fields->length(), "out of bounds"); |
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
12772
diff
changeset
|
213 |
return _fields->at(_generic_signature_slot); |
12772
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
214 |
} else { |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
215 |
return 0; |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
216 |
} |
10546 | 217 |
} |
218 |
void set_generic_signature_index(int index) { |
|
219 |
assert(!field()->is_internal(), "regular only"); |
|
12772
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
220 |
if (access_flags().field_has_generic_signature()) { |
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
221 |
assert(_generic_signature_slot < _fields->length(), "out of bounds"); |
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
12772
diff
changeset
|
222 |
_fields->at_put(_generic_signature_slot, index); |
12772
d317e5e08194
7168280: Eliminate the generic signature index slot from field array for field without generic signature.
jiangli
parents:
10546
diff
changeset
|
223 |
} |
10546 | 224 |
} |
225 |
int initval_index() const { |
|
226 |
assert(!field()->is_internal(), "regular only"); |
|
227 |
return field()->initval_index(); |
|
228 |
} |
|
229 |
void set_initval_index(int index) { |
|
230 |
assert(!field()->is_internal(), "regular only"); |
|
231 |
return field()->set_initval_index(index); |
|
232 |
} |
|
233 |
}; |
|
234 |
||
235 |
||
236 |
// Iterate over only the internal fields |
|
237 |
class InternalFieldStream : public FieldStreamBase { |
|
238 |
public: |
|
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
12772
diff
changeset
|
239 |
InternalFieldStream(InstanceKlass* k): FieldStreamBase(k->fields(), k->constants(), k->java_fields_count(), 0) {} |
10546 | 240 |
}; |
241 |
||
242 |
||
243 |
class AllFieldStream : public FieldStreamBase { |
|
244 |
public: |
|
33593
60764a78fa5c
8140274: methodHandles and constantPoolHandles should be passed as const references
coleenp
parents:
28396
diff
changeset
|
245 |
AllFieldStream(Array<u2>* fields, const constantPoolHandle& constants): FieldStreamBase(fields, constants) {} |
13728
882756847a04
6964458: Reimplement class meta-data storage to use native memory
coleenp
parents:
12772
diff
changeset
|
246 |
AllFieldStream(InstanceKlass* k): FieldStreamBase(k->fields(), k->constants()) {} |
10546 | 247 |
}; |
248 |
||
249 |
#endif // SHARE_VM_OOPS_FIELDSTREAMS_HPP |