diff src/cpu/x86/vm/frame_x86.cpp @ 7176:59c790074993

8003635: NPG: AsynchGetCallTrace broken by Method* virtual call Summary: Make metaspace::contains be lock free and used to see if something is in metaspace, also compare Method* with vtbl pointer. Reviewed-by: dholmes, sspitsyn, dcubed, jmasa
author coleenp
date Wed, 28 Nov 2012 17:50:21 -0500
parents da91efe96a93
children 291ffc492eb6 ec2eddfed950
line wrap: on
line diff
--- a/src/cpu/x86/vm/frame_x86.cpp	Wed Nov 28 08:43:26 2012 -0800
+++ b/src/cpu/x86/vm/frame_x86.cpp	Wed Nov 28 17:50:21 2012 -0500
@@ -534,7 +534,7 @@
   Method* m = *interpreter_frame_method_addr();
 
   // validate the method we'd find in this potential sender
-  if (!Universe::heap()->is_valid_method(m)) return false;
+  if (!m->is_valid_method()) return false;
 
   // stack frames shouldn't be much larger than max_stack elements