8030662: "assert(counter_changed) failed: failed dependencies, but counter didn't change" still fails
authorroland
Tue, 14 Jan 2014 12:44:12 +0100
changeset 22503 45d730e9202e
parent 22502 f8adbdb312a1
child 22504 b1837533ba65
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
hotspot/src/share/vm/prims/jvmtiRedefineClasses.cpp
--- a/hotspot/src/share/vm/prims/jvmtiRedefineClasses.cpp	Tue Jan 14 09:44:45 2014 +0100
+++ b/hotspot/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();