Mercurial > hg > truffle
comparison 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 |
comparison
equal
deleted
inserted
replaced
17626:84df3d405315 | 17627:d7773b29c65a |
---|---|
144 // Free the memory for this class at class unloading time. Not before | 144 // Free the memory for this class at class unloading time. Not before |
145 // because CMS might think this is still live. | 145 // because CMS might think this is still live. |
146 cld->add_to_deallocate_list((InstanceKlass*)_scratch_classes[i]); | 146 cld->add_to_deallocate_list((InstanceKlass*)_scratch_classes[i]); |
147 _scratch_classes[i] = NULL; | 147 _scratch_classes[i] = NULL; |
148 } | 148 } |
149 | |
150 // Disable any dependent concurrent compilations | |
151 SystemDictionary::notice_modification(); | |
149 | 152 |
150 // Set flag indicating that some invariants are no longer true. | 153 // Set flag indicating that some invariants are no longer true. |
151 // See jvmtiExport.hpp for detailed explanation. | 154 // See jvmtiExport.hpp for detailed explanation. |
152 JvmtiExport::set_has_redefined_a_class(); | 155 JvmtiExport::set_has_redefined_a_class(); |
153 | 156 |