comparison 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
comparison
equal deleted inserted replaced
17934:366c198c896d 17935:7384f6a12fc1
866 void print_value_on(outputStream* st) const; 866 void print_value_on(outputStream* st) const;
867 867
868 const char* internal_name() const { return "{method}"; } 868 const char* internal_name() const { return "{method}"; }
869 869
870 // Check for valid method pointer 870 // Check for valid method pointer
871 static bool has_method_vptr(const void* ptr);
871 bool is_valid_method() const; 872 bool is_valid_method() const;
872 873
873 // Verify 874 // Verify
874 void verify() { verify_on(tty); } 875 void verify() { verify_on(tty); }
875 void verify_on(outputStream* st); 876 void verify_on(outputStream* st);