comparison src/share/vm/classfile/systemDictionary.cpp @ 16597:fcb186b03c8b

loading of anonymous classes must update SystemDictionary::_number_of_modifications
author Tom Rodriguez <tom.rodriguez@oracle.com>
date Fri, 25 Jul 2014 17:38:00 -0700
parents ad431bf0de07
children 89152779163c
comparison
equal deleted inserted replaced
16596:9e2317b1092b 16597:fcb186b03c8b
1057 1057
1058 // Add to class hierarchy, initialize vtables, and do possible 1058 // Add to class hierarchy, initialize vtables, and do possible
1059 // deoptimizations. 1059 // deoptimizations.
1060 add_to_hierarchy(k, CHECK_NULL); // No exception, but can block 1060 add_to_hierarchy(k, CHECK_NULL); // No exception, but can block
1061 1061
1062 // But, do not add to system dictionary. 1062 // But, do not add to system dictionary. That normally takes
1063 // care of updating _number_of_modifications so do it here.
1064 notice_modification();
1063 } 1065 }
1064 1066
1065 // Rewrite and patch constant pool here. 1067 // Rewrite and patch constant pool here.
1066 k->link_class(CHECK_NULL); 1068 k->link_class(CHECK_NULL);
1067 if (cp_patches != NULL) { 1069 if (cp_patches != NULL) {