Mercurial > hg > truffle
comparison src/share/vm/classfile/systemDictionary.hpp @ 14378:48314d596a04
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 | 2315fab779ca |
children | d8041d695d19 9428a0b94204 |
comparison
equal
deleted
inserted
replaced
14377:cbdbdd6577f6 | 14378:48314d596a04 |
---|---|
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. |
373 | 373 |
374 #ifdef ASSERT | 374 #ifdef ASSERT |
375 static bool is_internal_format(Symbol* class_name); | 375 static bool is_internal_format(Symbol* class_name); |
376 #endif | 376 #endif |
377 | 377 |
378 // Verify class is in dictionary | |
379 static void verify_obj_klass_present(Symbol* class_name, | |
380 ClassLoaderData* loader_data); | |
381 | |
382 // Initialization | 378 // Initialization |
383 static void initialize(TRAPS); | 379 static void initialize(TRAPS); |
384 | 380 |
385 // Fast access to commonly used classes (preloaded) | 381 // Fast access to commonly used classes (preloaded) |
386 static Klass* check_klass(Klass* k) { | 382 static Klass* check_klass(Klass* k) { |