diff src/share/vm/oops/klass.hpp @ 11034:e0c9a1d29eb4

8016325: JVM hangs verifying system dictionary Summary: Minimize redundant verifications of Klasses. Reviewed-by: hseigel, jmasa
author coleenp
date Mon, 24 Jun 2013 18:55:46 -0400
parents 6bd680e9ea35
children 71180a6e5080
line wrap: on
line diff
--- a/src/share/vm/oops/klass.hpp	Sun Jun 23 22:08:28 2013 -0700
+++ b/src/share/vm/oops/klass.hpp	Mon Jun 24 18:55:46 2013 -0400
@@ -703,8 +703,8 @@
   virtual const char* internal_name() const = 0;
 
   // Verification
-  virtual void verify_on(outputStream* st);
-  void verify() { verify_on(tty); }
+  virtual void verify_on(outputStream* st, bool check_dictionary);
+  void verify(bool check_dictionary = true) { verify_on(tty, check_dictionary); }
 
 #ifndef PRODUCT
   void verify_vtable_index(int index);