1 /*
2 * Copyright (c) 1997, 2018, Oracle and/or its affiliates. All rights reserved.
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 *
47
48
49 // ------------- compiledVFrame --------------
50
51 StackValueCollection* compiledVFrame::locals() const {
52 // Natives has no scope
53 if (scope() == NULL) return new StackValueCollection(0);
54 GrowableArray<ScopeValue*>* scv_list = scope()->locals();
55 if (scv_list == NULL) return new StackValueCollection(0);
56
57 // scv_list is the list of ScopeValues describing the JVM stack state.
58 // There is one scv_list entry for every JVM stack state in use.
59 int length = scv_list->length();
60 StackValueCollection* result = new StackValueCollection(length);
61 for (int i = 0; i < length; i++) {
62 result->add(create_stack_value(scv_list->at(i)));
63 }
64
65 // Replace the original values with any stores that have been
66 // performed through compiledVFrame::update_locals.
67 GrowableArray<jvmtiDeferredLocalVariableSet*>* list = thread()->deferred_locals();
68 if (list != NULL ) {
69 // In real life this never happens or is typically a single element search
70 for (int i = 0; i < list->length(); i++) {
71 if (list->at(i)->matches(this)) {
72 list->at(i)->update_locals(result);
73 break;
74 }
75 }
76 }
77
78 return result;
79 }
80
81
82 void compiledVFrame::set_locals(StackValueCollection* values) const {
83
84 fatal("Should use update_local for each local update");
85 }
86
87 void compiledVFrame::update_local(BasicType type, int index, jvalue value) {
88 assert(index >= 0 && index < method()->max_locals(), "out of bounds");
89 update_deferred_value(type, index, value);
90 }
91
92 void compiledVFrame::update_stack(BasicType type, int index, jvalue value) {
93 assert(index >= 0 && index < method()->max_stack(), "out of bounds");
94 update_deferred_value(type, index + method()->max_locals(), value);
95 }
96
97 void compiledVFrame::update_monitor(int index, MonitorInfo* val) {
98 assert(index >= 0, "out of bounds");
99 jvalue value;
100 value.l = cast_from_oop<jobject>(val->owner());
101 update_deferred_value(T_OBJECT, index + method()->max_locals() + method()->max_stack(), value);
102 }
103
104 void compiledVFrame::update_deferred_value(BasicType type, int index, jvalue value) {
105 assert(fr().is_deoptimized_frame(), "frame must be scheduled for deoptimization");
106 GrowableArray<jvmtiDeferredLocalVariableSet*>* deferred = thread()->deferred_locals();
107 jvmtiDeferredLocalVariableSet* locals = NULL;
108 if (deferred != NULL ) {
109 // See if this vframe has already had locals with deferred writes
110 for (int f = 0; f < deferred->length(); f++ ) {
111 if (deferred->at(f)->matches(this)) {
112 locals = deferred->at(f);
113 break;
114 }
115 }
116 // No matching vframe must push a new vframe
117 } else {
118 // No deferred updates pending for this thread.
119 // allocate in C heap
120 deferred = new(ResourceObj::C_HEAP, mtCompiler) GrowableArray<jvmtiDeferredLocalVariableSet*> (1, mtCompiler);
121 thread()->set_deferred_locals(deferred);
122 }
123 if (locals == NULL) {
124 locals = new jvmtiDeferredLocalVariableSet(method(), bci(), fr().id(), vframe_id());
125 deferred->push(locals);
126 assert(locals->id() == fr().id(), "Huh? Must match");
127 }
128 locals->set_value_at(index, type, value);
129 }
130
131 StackValueCollection* compiledVFrame::expressions() const {
132 // Natives has no scope
133 if (scope() == NULL) return new StackValueCollection(0);
134 GrowableArray<ScopeValue*>* scv_list = scope()->expressions();
135 if (scv_list == NULL) return new StackValueCollection(0);
136
137 // scv_list is the list of ScopeValues describing the JVM stack state.
138 // There is one scv_list entry for every JVM stack state in use.
139 int length = scv_list->length();
140 StackValueCollection* result = new StackValueCollection(length);
141 for (int i = 0; i < length; i++) {
142 result->add(create_stack_value(scv_list->at(i)));
143 }
144
145 // Replace the original values with any stores that have been
146 // performed through compiledVFrame::update_stack.
147 GrowableArray<jvmtiDeferredLocalVariableSet*>* list = thread()->deferred_locals();
148 if (list != NULL ) {
149 // In real life this never happens or is typically a single element search
150 for (int i = 0; i < list->length(); i++) {
151 if (list->at(i)->matches(this)) {
152 list->at(i)->update_stack(result);
153 break;
154 }
155 }
156 }
157
158 return result;
159 }
160
161
162 // The implementation of the following two methods was factorized into the
163 // class StackValue because it is also used from within deoptimization.cpp for
164 // rematerialization and relocking of non-escaping objects.
165
166 StackValue *compiledVFrame::create_stack_value(ScopeValue *sv) const {
167 return StackValue::create_stack_value(&_fr, register_map(), sv);
201 MonitorValue* mv = monitors->at(index);
202 ScopeValue* ov = mv->owner();
203 StackValue *owner_sv = create_stack_value(ov); // it is an oop
204 if (ov->is_object() && owner_sv->obj_is_scalar_replaced()) { // The owner object was scalar replaced
205 assert(mv->eliminated(), "monitor should be eliminated for scalar replaced object");
206 // Put klass for scalar replaced object.
207 ScopeValue* kv = ((ObjectValue *)ov)->klass();
208 assert(kv->is_constant_oop(), "klass should be oop constant for scalar replaced object");
209 Handle k(Thread::current(), ((ConstantOopReadValue*)kv)->value()());
210 assert(java_lang_Class::is_instance(k()), "must be");
211 result->push(new MonitorInfo(k(), resolve_monitor_lock(mv->basic_lock()),
212 mv->eliminated(), true));
213 } else {
214 result->push(new MonitorInfo(owner_sv->get_obj()(), resolve_monitor_lock(mv->basic_lock()),
215 mv->eliminated(), false));
216 }
217 }
218
219 // Replace the original values with any stores that have been
220 // performed through compiledVFrame::update_monitors.
221 GrowableArray<jvmtiDeferredLocalVariableSet*>* list = thread()->deferred_locals();
222 if (list != NULL ) {
223 // In real life this never happens or is typically a single element search
224 for (int i = 0; i < list->length(); i++) {
225 if (list->at(i)->matches(this)) {
226 list->at(i)->update_monitors(result);
227 break;
228 }
229 }
230 }
231
232 return result;
233 }
234
235
236 compiledVFrame::compiledVFrame(const frame* fr, const RegisterMap* reg_map, JavaThread* thread, CompiledMethod* nm)
237 : javaVFrame(fr, reg_map, thread) {
238 _scope = NULL;
239 _vframe_id = 0;
240 // Compiled method (native stub or Java code)
241 // native wrappers have no scope data, it is implied
292 int compiledVFrame::raw_bci() const {
293 if (scope() == NULL) {
294 // native nmethods have no scope the method/bci is implied
295 nmethod* nm = code()->as_nmethod();
296 assert(nm->is_native_method(), "must be native");
297 return 0;
298 }
299 return scope()->bci();
300 }
301
302 bool compiledVFrame::should_reexecute() const {
303 if (scope() == NULL) {
304 // native nmethods have no scope the method/bci is implied
305 nmethod* nm = code()->as_nmethod();
306 assert(nm->is_native_method(), "must be native");
307 return false;
308 }
309 return scope()->should_reexecute();
310 }
311
312 vframe* compiledVFrame::sender() const {
313 const frame f = fr();
314 if (scope() == NULL) {
315 // native nmethods have no scope the method/bci is implied
316 nmethod* nm = code()->as_nmethod();
317 assert(nm->is_native_method(), "must be native");
318 return vframe::sender();
319 } else {
320 return scope()->is_top()
321 ? vframe::sender()
322 : new compiledVFrame(&f, register_map(), thread(), scope()->sender(), vframe_id() + 1);
323 }
324 }
325
326 jvmtiDeferredLocalVariableSet::jvmtiDeferredLocalVariableSet(Method* method, int bci, intptr_t* id, int vframe_id) {
327 _method = method;
328 _bci = bci;
329 _id = id;
330 _vframe_id = vframe_id;
331 // Alway will need at least one, must be on C heap
332 _locals = new(ResourceObj::C_HEAP, mtCompiler) GrowableArray<jvmtiDeferredLocalVariable*> (1, mtCompiler);
333 }
334
335 jvmtiDeferredLocalVariableSet::~jvmtiDeferredLocalVariableSet() {
336 for (int i = 0; i < _locals->length(); i++ ) {
337 delete _locals->at(i);
338 }
339 // Free growableArray and c heap for elements
340 delete _locals;
341 }
342
343 bool jvmtiDeferredLocalVariableSet::matches(const vframe* vf) {
344 if (!vf->is_compiled_frame()) return false;
345 compiledVFrame* cvf = (compiledVFrame*)vf;
346 if (cvf->fr().id() == id() && cvf->vframe_id() == vframe_id()) {
347 assert(cvf->method() == method() && cvf->bci() == bci(), "must agree");
348 return true;
349 }
350 return false;
351 }
352
407 }
408 }
409
410
411 void jvmtiDeferredLocalVariableSet::update_stack(StackValueCollection* expressions) {
412 for (int l = 0; l < _locals->length(); l ++) {
413 jvmtiDeferredLocalVariable* val = _locals->at(l);
414 if (val->index() >= method()->max_locals() && val->index() < method()->max_locals() + method()->max_stack()) {
415 update_value(expressions, val->type(), val->index() - method()->max_locals(), val->value());
416 }
417 }
418 }
419
420
421 void jvmtiDeferredLocalVariableSet::update_monitors(GrowableArray<MonitorInfo*>* monitors) {
422 for (int l = 0; l < _locals->length(); l ++) {
423 jvmtiDeferredLocalVariable* val = _locals->at(l);
424 if (val->index() >= method()->max_locals() + method()->max_stack()) {
425 int lock_index = val->index() - (method()->max_locals() + method()->max_stack());
426 MonitorInfo* info = monitors->at(lock_index);
427 MonitorInfo* new_info = new MonitorInfo((oopDesc*)val->value().l, info->lock(), info->eliminated(), info->owner_is_scalar_replaced());
428 monitors->at_put(lock_index, new_info);
429 }
430 }
431 }
432
433
434 void jvmtiDeferredLocalVariableSet::oops_do(OopClosure* f) {
435 // The Method* is on the stack so a live activation keeps it alive
436 // either by mirror in interpreter or code in compiled code.
437 for (int i = 0; i < _locals->length(); i++) {
438 if (_locals->at(i)->type() == T_OBJECT) {
439 f->do_oop(_locals->at(i)->oop_addr());
440 }
441 }
442 }
443
444 jvmtiDeferredLocalVariable::jvmtiDeferredLocalVariable(int index, BasicType type, jvalue value) {
445 _index = index;
446 _type = type;
447 _value = value;
|
1 /*
2 * Copyright (c) 1997, 2020, Oracle and/or its affiliates. All rights reserved.
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 *
47
48
49 // ------------- compiledVFrame --------------
50
51 StackValueCollection* compiledVFrame::locals() const {
52 // Natives has no scope
53 if (scope() == NULL) return new StackValueCollection(0);
54 GrowableArray<ScopeValue*>* scv_list = scope()->locals();
55 if (scv_list == NULL) return new StackValueCollection(0);
56
57 // scv_list is the list of ScopeValues describing the JVM stack state.
58 // There is one scv_list entry for every JVM stack state in use.
59 int length = scv_list->length();
60 StackValueCollection* result = new StackValueCollection(length);
61 for (int i = 0; i < length; i++) {
62 result->add(create_stack_value(scv_list->at(i)));
63 }
64
65 // Replace the original values with any stores that have been
66 // performed through compiledVFrame::update_locals.
67 GrowableArray<jvmtiDeferredLocalVariableSet*>* list = JvmtiDeferredUpdates::deferred_locals(thread());
68 if (list != NULL ) {
69 // In real life this never happens or is typically a single element search
70 for (int i = 0; i < list->length(); i++) {
71 if (list->at(i)->matches(this)) {
72 list->at(i)->update_locals(result);
73 break;
74 }
75 }
76 }
77
78 return result;
79 }
80
81
82 void compiledVFrame::set_locals(StackValueCollection* values) const {
83
84 fatal("Should use update_local for each local update");
85 }
86
87 void compiledVFrame::update_local(BasicType type, int index, jvalue value) {
88 assert(index >= 0 && index < method()->max_locals(), "out of bounds");
89 update_deferred_value(type, index, value);
90 }
91
92 void compiledVFrame::update_stack(BasicType type, int index, jvalue value) {
93 assert(index >= 0 && index < method()->max_stack(), "out of bounds");
94 update_deferred_value(type, index + method()->max_locals(), value);
95 }
96
97 void compiledVFrame::update_monitor(int index, MonitorInfo* val) {
98 assert(index >= 0, "out of bounds");
99 jvalue value;
100 value.l = cast_from_oop<jobject>(val->owner());
101 update_deferred_value(T_OBJECT, index + method()->max_locals() + method()->max_stack(), value);
102 }
103
104 void compiledVFrame::update_deferred_value(BasicType type, int index, jvalue value) {
105 assert(fr().is_deoptimized_frame(), "frame must be scheduled for deoptimization");
106 GrowableArray<jvmtiDeferredLocalVariableSet*>* deferred = JvmtiDeferredUpdates::deferred_locals(thread());
107 jvmtiDeferredLocalVariableSet* locals = NULL;
108 if (deferred != NULL ) {
109 // See if this vframe has already had locals with deferred writes
110 for (int f = 0; f < deferred->length(); f++ ) {
111 if (deferred->at(f)->matches(this)) {
112 locals = deferred->at(f);
113 break;
114 }
115 }
116 // No matching vframe must push a new vframe
117 } else {
118 // No deferred updates pending for this thread.
119 // allocate in C heap
120 JvmtiDeferredUpdates::create_for(thread());
121 deferred = JvmtiDeferredUpdates::deferred_locals(thread());
122 }
123 if (locals == NULL) {
124 locals = new jvmtiDeferredLocalVariableSet(method(), bci(), fr().id(), vframe_id());
125 deferred->push(locals);
126 assert(locals->id() == fr().id(), "Huh? Must match");
127 }
128 locals->set_value_at(index, type, value);
129 }
130
131 StackValueCollection* compiledVFrame::expressions() const {
132 // Natives has no scope
133 if (scope() == NULL) return new StackValueCollection(0);
134 GrowableArray<ScopeValue*>* scv_list = scope()->expressions();
135 if (scv_list == NULL) return new StackValueCollection(0);
136
137 // scv_list is the list of ScopeValues describing the JVM stack state.
138 // There is one scv_list entry for every JVM stack state in use.
139 int length = scv_list->length();
140 StackValueCollection* result = new StackValueCollection(length);
141 for (int i = 0; i < length; i++) {
142 result->add(create_stack_value(scv_list->at(i)));
143 }
144
145 // Replace the original values with any stores that have been
146 // performed through compiledVFrame::update_stack.
147 GrowableArray<jvmtiDeferredLocalVariableSet*>* list = JvmtiDeferredUpdates::deferred_locals(thread());
148 if (list != NULL ) {
149 // In real life this never happens or is typically a single element search
150 for (int i = 0; i < list->length(); i++) {
151 if (list->at(i)->matches(this)) {
152 list->at(i)->update_stack(result);
153 break;
154 }
155 }
156 }
157
158 return result;
159 }
160
161
162 // The implementation of the following two methods was factorized into the
163 // class StackValue because it is also used from within deoptimization.cpp for
164 // rematerialization and relocking of non-escaping objects.
165
166 StackValue *compiledVFrame::create_stack_value(ScopeValue *sv) const {
167 return StackValue::create_stack_value(&_fr, register_map(), sv);
201 MonitorValue* mv = monitors->at(index);
202 ScopeValue* ov = mv->owner();
203 StackValue *owner_sv = create_stack_value(ov); // it is an oop
204 if (ov->is_object() && owner_sv->obj_is_scalar_replaced()) { // The owner object was scalar replaced
205 assert(mv->eliminated(), "monitor should be eliminated for scalar replaced object");
206 // Put klass for scalar replaced object.
207 ScopeValue* kv = ((ObjectValue *)ov)->klass();
208 assert(kv->is_constant_oop(), "klass should be oop constant for scalar replaced object");
209 Handle k(Thread::current(), ((ConstantOopReadValue*)kv)->value()());
210 assert(java_lang_Class::is_instance(k()), "must be");
211 result->push(new MonitorInfo(k(), resolve_monitor_lock(mv->basic_lock()),
212 mv->eliminated(), true));
213 } else {
214 result->push(new MonitorInfo(owner_sv->get_obj()(), resolve_monitor_lock(mv->basic_lock()),
215 mv->eliminated(), false));
216 }
217 }
218
219 // Replace the original values with any stores that have been
220 // performed through compiledVFrame::update_monitors.
221 GrowableArray<jvmtiDeferredLocalVariableSet*>* list = JvmtiDeferredUpdates::deferred_locals(thread());
222 if (list != NULL ) {
223 // In real life this never happens or is typically a single element search
224 for (int i = 0; i < list->length(); i++) {
225 if (list->at(i)->matches(this)) {
226 list->at(i)->update_monitors(result);
227 break;
228 }
229 }
230 }
231
232 return result;
233 }
234
235
236 compiledVFrame::compiledVFrame(const frame* fr, const RegisterMap* reg_map, JavaThread* thread, CompiledMethod* nm)
237 : javaVFrame(fr, reg_map, thread) {
238 _scope = NULL;
239 _vframe_id = 0;
240 // Compiled method (native stub or Java code)
241 // native wrappers have no scope data, it is implied
292 int compiledVFrame::raw_bci() const {
293 if (scope() == NULL) {
294 // native nmethods have no scope the method/bci is implied
295 nmethod* nm = code()->as_nmethod();
296 assert(nm->is_native_method(), "must be native");
297 return 0;
298 }
299 return scope()->bci();
300 }
301
302 bool compiledVFrame::should_reexecute() const {
303 if (scope() == NULL) {
304 // native nmethods have no scope the method/bci is implied
305 nmethod* nm = code()->as_nmethod();
306 assert(nm->is_native_method(), "must be native");
307 return false;
308 }
309 return scope()->should_reexecute();
310 }
311
312 bool compiledVFrame::not_global_escape_in_scope() const {
313 if (scope() == NULL) {
314 // native nmethod, all objs escape
315 assert(code()->as_nmethod()->is_native_method(), "must be native");
316 return false;
317 }
318 return (scope()->objects() != NULL) || scope()->not_global_escape_in_scope();
319 }
320
321 bool compiledVFrame::arg_escape() const {
322 if (scope() == NULL) {
323 // native nmethod, all objs escape
324 assert(code()->as_nmethod()->is_native_method(), "must be native");
325 return false;
326 }
327 return scope()->arg_escape();
328 }
329
330 vframe* compiledVFrame::sender() const {
331 const frame f = fr();
332 if (scope() == NULL) {
333 // native nmethods have no scope the method/bci is implied
334 nmethod* nm = code()->as_nmethod();
335 assert(nm->is_native_method(), "must be native");
336 return vframe::sender();
337 } else {
338 return scope()->is_top()
339 ? vframe::sender()
340 : new compiledVFrame(&f, register_map(), thread(), scope()->sender(), vframe_id() + 1);
341 }
342 }
343
344 void JvmtiDeferredUpdates::create_for(JavaThread* thread) {
345 assert(thread->deferred_updates() == NULL, "already allocated");
346 thread->set_deferred_updates(new JvmtiDeferredUpdates());
347 }
348
349 void JvmtiDeferredUpdates::inc_relock_count_after_wait(JavaThread* thread) {
350 if (thread->deferred_updates() == NULL) {
351 create_for(thread);
352 }
353 thread->deferred_updates()->inc_relock_count_after_wait();
354 }
355
356 jvmtiDeferredLocalVariableSet::jvmtiDeferredLocalVariableSet(Method* method, int bci, intptr_t* id, int vframe_id) {
357 _method = method;
358 _bci = bci;
359 _id = id;
360 _vframe_id = vframe_id;
361 // Alway will need at least one, must be on C heap
362 _locals = new(ResourceObj::C_HEAP, mtCompiler) GrowableArray<jvmtiDeferredLocalVariable*> (1, mtCompiler);
363 _objects_are_deoptimized = false;
364 }
365
366 jvmtiDeferredLocalVariableSet::~jvmtiDeferredLocalVariableSet() {
367 for (int i = 0; i < _locals->length(); i++ ) {
368 delete _locals->at(i);
369 }
370 // Free growableArray and c heap for elements
371 delete _locals;
372 }
373
374 bool jvmtiDeferredLocalVariableSet::matches(const vframe* vf) {
375 if (!vf->is_compiled_frame()) return false;
376 compiledVFrame* cvf = (compiledVFrame*)vf;
377 if (cvf->fr().id() == id() && cvf->vframe_id() == vframe_id()) {
378 assert(cvf->method() == method() && cvf->bci() == bci(), "must agree");
379 return true;
380 }
381 return false;
382 }
383
438 }
439 }
440
441
442 void jvmtiDeferredLocalVariableSet::update_stack(StackValueCollection* expressions) {
443 for (int l = 0; l < _locals->length(); l ++) {
444 jvmtiDeferredLocalVariable* val = _locals->at(l);
445 if (val->index() >= method()->max_locals() && val->index() < method()->max_locals() + method()->max_stack()) {
446 update_value(expressions, val->type(), val->index() - method()->max_locals(), val->value());
447 }
448 }
449 }
450
451
452 void jvmtiDeferredLocalVariableSet::update_monitors(GrowableArray<MonitorInfo*>* monitors) {
453 for (int l = 0; l < _locals->length(); l ++) {
454 jvmtiDeferredLocalVariable* val = _locals->at(l);
455 if (val->index() >= method()->max_locals() + method()->max_stack()) {
456 int lock_index = val->index() - (method()->max_locals() + method()->max_stack());
457 MonitorInfo* info = monitors->at(lock_index);
458 // Originally the owner may have been scalar replaced, but as an update exists it must have
459 // been deoptimized, i.e. reallocated to the heap, and now it is considered not to be scalar replaced.
460 MonitorInfo* new_info = new MonitorInfo((oopDesc*)val->value().l, info->lock(), info->eliminated(), false);
461 monitors->at_put(lock_index, new_info);
462 }
463 }
464 }
465
466
467 void jvmtiDeferredLocalVariableSet::oops_do(OopClosure* f) {
468 // The Method* is on the stack so a live activation keeps it alive
469 // either by mirror in interpreter or code in compiled code.
470 for (int i = 0; i < _locals->length(); i++) {
471 if (_locals->at(i)->type() == T_OBJECT) {
472 f->do_oop(_locals->at(i)->oop_addr());
473 }
474 }
475 }
476
477 jvmtiDeferredLocalVariable::jvmtiDeferredLocalVariable(int index, BasicType type, jvalue value) {
478 _index = index;
479 _type = type;
480 _value = value;
|