diff src/share/vm/oops/method.hpp @ 17935:7384f6a12fc1

8038212: Method::is_valid_method() check has performance regression impact for stackwalking Summary: Only prune metaspace virtual spaces at safepoint so walking them is safe outside a safepoint. Reviewed-by: mgerdin, mgronlun, hseigel, stefank
author coleenp
date Thu, 15 May 2014 18:23:26 -0400
parents 9428a0b94204
children 52b4284cb496 7301840ea20e
line wrap: on
line diff
--- a/src/share/vm/oops/method.hpp	Thu May 15 09:25:27 2014 -0400
+++ b/src/share/vm/oops/method.hpp	Thu May 15 18:23:26 2014 -0400
@@ -868,6 +868,7 @@
   const char* internal_name() const { return "{method}"; }
 
   // Check for valid method pointer
+  static bool has_method_vptr(const void* ptr);
   bool is_valid_method() const;
 
   // Verify