Mercurial > hg > truffle
changeset 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 | 9e2317b1092b |
children | edf653f51521 |
files | src/share/vm/classfile/systemDictionary.cpp |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/classfile/systemDictionary.cpp Fri Jul 25 08:35:34 2014 -0700 +++ b/src/share/vm/classfile/systemDictionary.cpp Fri Jul 25 17:38:00 2014 -0700 @@ -1059,7 +1059,9 @@ // deoptimizations. add_to_hierarchy(k, CHECK_NULL); // No exception, but can block - // But, do not add to system dictionary. + // But, do not add to system dictionary. That normally takes + // care of updating _number_of_modifications so do it here. + notice_modification(); } // Rewrite and patch constant pool here.