comparison src/share/vm/code/dependencies.cpp @ 8947:707b20dd9512

draft call site target value assumption
author Andreas Woess <andreas.woess@jku.at>
date Tue, 09 Apr 2013 17:23:32 +0200
parents c5ff08c22458
children 0ba33199edc0
comparison
equal deleted inserted replaced
8946:7a4dc62006bf 8947:707b20dd9512
167 } 167 }
168 168
169 void Dependencies::assert_unique_concrete_method(Klass* ctxk, Method* uniqm) { 169 void Dependencies::assert_unique_concrete_method(Klass* ctxk, Method* uniqm) {
170 check_ctxk(ctxk); 170 check_ctxk(ctxk);
171 assert_common_2(unique_concrete_method, DepValue(_oop_recorder, ctxk), DepValue(_oop_recorder, uniqm)); 171 assert_common_2(unique_concrete_method, DepValue(_oop_recorder, ctxk), DepValue(_oop_recorder, uniqm));
172 }
173
174 void Dependencies::assert_call_site_target_value(oop cs, oop mh) {
175 assert_common_2(call_site_target_value, DepValue(_oop_recorder, JNIHandles::make_local(cs)), DepValue(_oop_recorder, JNIHandles::make_local(mh)));
172 } 176 }
173 #endif // GRAAL 177 #endif // GRAAL
174 178
175 179
176 // Helper function. If we are adding a new dep. under ctxk2, 180 // Helper function. If we are adding a new dep. under ctxk2,