Mercurial > hg > truffle
comparison src/share/vm/oops/method.cpp @ 12039:3cce976666d9
Merge hs25-b46
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Thu, 10 Oct 2013 14:20:04 +0200 |
parents | 6b0fd0964b87 85147f28faba |
children | cefad50507d8 |
comparison
equal
deleted
inserted
replaced
11958:a0f5be106e67 | 12039:3cce976666d9 |
---|---|
987 * security related stack walks (like Reflection.getCallerClass). | 987 * security related stack walks (like Reflection.getCallerClass). |
988 */ | 988 */ |
989 bool Method::is_ignored_by_security_stack_walk() const { | 989 bool Method::is_ignored_by_security_stack_walk() const { |
990 const bool use_new_reflection = JDK_Version::is_gte_jdk14x_version() && UseNewReflection; | 990 const bool use_new_reflection = JDK_Version::is_gte_jdk14x_version() && UseNewReflection; |
991 | 991 |
992 assert(intrinsic_id() != vmIntrinsics::_invoke || Universe::reflect_invoke_cache()->is_same_method((Method*)this), "sanity"); | |
993 if (intrinsic_id() == vmIntrinsics::_invoke) { | 992 if (intrinsic_id() == vmIntrinsics::_invoke) { |
994 // This is Method.invoke() -- ignore it | 993 // This is Method.invoke() -- ignore it |
995 return true; | 994 return true; |
996 } | 995 } |
997 if (use_new_reflection && | 996 if (use_new_reflection && |