comparison src/share/vm/prims/jvm.cpp @ 6271:93c71eb28866

7188911: nightly failures after JSR 292 lazy method handle update (round 2) Reviewed-by: kvn, jrose
author twisti
date Tue, 07 Aug 2012 14:32:08 -0700
parents e74da3c2b827
children da91efe96a93
comparison
equal deleted inserted replaced
6270:b72784e722ff 6271:93c71eb28866
2239 JVM_QUICK_ENTRY(jint, JVM_GetMethodIxMaxStack(JNIEnv *env, jclass cls, int method_index)) 2239 JVM_QUICK_ENTRY(jint, JVM_GetMethodIxMaxStack(JNIEnv *env, jclass cls, int method_index))
2240 JVMWrapper("JVM_GetMethodIxMaxStack"); 2240 JVMWrapper("JVM_GetMethodIxMaxStack");
2241 klassOop k = java_lang_Class::as_klassOop(JNIHandles::resolve_non_null(cls)); 2241 klassOop k = java_lang_Class::as_klassOop(JNIHandles::resolve_non_null(cls));
2242 k = JvmtiThreadState::class_to_verify_considering_redefinition(k, thread); 2242 k = JvmtiThreadState::class_to_verify_considering_redefinition(k, thread);
2243 oop method = instanceKlass::cast(k)->methods()->obj_at(method_index); 2243 oop method = instanceKlass::cast(k)->methods()->obj_at(method_index);
2244 return methodOop(method)->max_stack(); 2244 return methodOop(method)->verifier_max_stack();
2245 JVM_END 2245 JVM_END
2246 2246
2247 2247
2248 JVM_QUICK_ENTRY(jboolean, JVM_IsConstructorIx(JNIEnv *env, jclass cls, int method_index)) 2248 JVM_QUICK_ENTRY(jboolean, JVM_IsConstructorIx(JNIEnv *env, jclass cls, int method_index))
2249 JVMWrapper("JVM_IsConstructorIx"); 2249 JVMWrapper("JVM_IsConstructorIx");