comparison hotspot/src/share/vm/oops/arrayKlass.cpp @ 22794:f1c014ad3754

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 da823d78ad65
children 22eb7be3d99d
comparison
equal deleted inserted replaced
16:1c73dce9e216 17:17b895610899
1 /* 1 /*
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. 2 * Copyright (c) 1997, 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.
212 } 212 }
213 213
214 214
215 // Verification 215 // Verification
216 216
217 void ArrayKlass::verify_on(outputStream* st, bool check_dictionary) { 217 void ArrayKlass::verify_on(outputStream* st) {
218 Klass::verify_on(st, check_dictionary); 218 Klass::verify_on(st);
219 219
220 if (component_mirror() != NULL) { 220 if (component_mirror() != NULL) {
221 guarantee(component_mirror()->klass() != NULL, "should have a class"); 221 guarantee(component_mirror()->klass() != NULL, "should have a class");
222 } 222 }
223 } 223 }