diff src/share/vm/prims/jvmtiRedefineClasses.cpp @ 17627:d7773b29c65a

8030662: "assert(counter_changed) failed: failed dependencies, but counter didn't change" still fails Summary: Erroneously removed call to SystemDictionary::notice_modification() from jvmti with fix for 8029383 Reviewed-by: iveresov, twisti, kvn
author roland
date Tue, 14 Jan 2014 12:44:12 +0100
parents 22c88c127fa4
children 89152779163c 78bbf4d43a14
line wrap: on
line diff
--- a/src/share/vm/prims/jvmtiRedefineClasses.cpp	Mon Jan 13 16:16:25 2014 -0800
+++ b/src/share/vm/prims/jvmtiRedefineClasses.cpp	Tue Jan 14 12:44:12 2014 +0100
@@ -147,6 +147,9 @@
     _scratch_classes[i] = NULL;
   }
 
+  // Disable any dependent concurrent compilations
+  SystemDictionary::notice_modification();
+
   // Set flag indicating that some invariants are no longer true.
   // See jvmtiExport.hpp for detailed explanation.
   JvmtiExport::set_has_redefined_a_class();