Mercurial > hg > graal-compiler
comparison src/share/vm/classfile/dictionary.cpp @ 17674:85318d1fe8fe
8027146: Class loading verification failure if GC occurs in Universe::flush_dependents_on
Summary: Remove search in system dictionary and hacks, replace with verifying in CLD::_klasses list.
Reviewed-by: dcubed, acorn
author | coleenp |
---|---|
date | Sat, 15 Feb 2014 13:03:38 -0500 |
parents | aa6f2ea19d8f |
children | 4ca6dc0799b6 78bbf4d43a14 |
comparison
equal
deleted
inserted
replaced
17673:231051bff068 | 17674:85318d1fe8fe |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * | 4 * |
5 * This code is free software; you can redistribute it and/or modify it | 5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as | 6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
705 // boostrap loader | 705 // boostrap loader |
706 guarantee(loader_data != NULL || DumpSharedSpaces || | 706 guarantee(loader_data != NULL || DumpSharedSpaces || |
707 loader_data->class_loader() == NULL || | 707 loader_data->class_loader() == NULL || |
708 loader_data->class_loader()->is_instance(), | 708 loader_data->class_loader()->is_instance(), |
709 "checking type of class_loader"); | 709 "checking type of class_loader"); |
710 e->verify(/*check_dictionary*/false); | 710 e->verify(); |
711 probe->verify_protection_domain_set(); | 711 probe->verify_protection_domain_set(); |
712 element_count++; | 712 element_count++; |
713 } | 713 } |
714 } | 714 } |
715 guarantee(number_of_entries() == element_count, | 715 guarantee(number_of_entries() == element_count, |