comparison src/share/vm/oops/method.cpp @ 12022:85147f28faba

8009728: nsk/jvmti/AttachOnDemand/attach030 crashes on Win32 Summary: ActiveMethodOopsCache was used to keep track of old versions of some methods that are cached in Universe but is buggy with permgen removal and not needed anymore Reviewed-by: sspitsyn, dcubed, mseledtsov
author coleenp
date Mon, 12 Aug 2013 17:24:54 -0400
parents 16511b7e3d35
children 3cce976666d9 6725044c5725
comparison
equal deleted inserted replaced
12021:bd0e82136b03 12022:85147f28faba
979 * security related stack walks (like Reflection.getCallerClass). 979 * security related stack walks (like Reflection.getCallerClass).
980 */ 980 */
981 bool Method::is_ignored_by_security_stack_walk() const { 981 bool Method::is_ignored_by_security_stack_walk() const {
982 const bool use_new_reflection = JDK_Version::is_gte_jdk14x_version() && UseNewReflection; 982 const bool use_new_reflection = JDK_Version::is_gte_jdk14x_version() && UseNewReflection;
983 983
984 assert(intrinsic_id() != vmIntrinsics::_invoke || Universe::reflect_invoke_cache()->is_same_method((Method*)this), "sanity");
985 if (intrinsic_id() == vmIntrinsics::_invoke) { 984 if (intrinsic_id() == vmIntrinsics::_invoke) {
986 // This is Method.invoke() -- ignore it 985 // This is Method.invoke() -- ignore it
987 return true; 986 return true;
988 } 987 }
989 if (use_new_reflection && 988 if (use_new_reflection &&