From b3936135a240768c2a10d914e7acc54d84b5f280 Mon Sep 17 00:00:00 2001 From: roland Date: Tue, 14 Jan 2014 12:44:12 +0100 Subject: [PATCH] 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 --- src/share/vm/prims/jvmtiRedefineClasses.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/share/vm/prims/jvmtiRedefineClasses.cpp b/src/share/vm/prims/jvmtiRedefineClasses.cpp index 4a57b2056..1c3bbbfee 100644 --- a/src/share/vm/prims/jvmtiRedefineClasses.cpp +++ b/src/share/vm/prims/jvmtiRedefineClasses.cpp @@ -147,6 +147,9 @@ void VM_RedefineClasses::doit() { _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(); -- GitLab