comparison src/share/vm/oops/klass.hpp @ 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 b2e698d2276c
children 7f0e0366ec81 386dd1c71858
comparison
equal deleted inserted replaced
17673:231051bff068 17674:85318d1fe8fe
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.
693 virtual void oop_print_on (oop obj, outputStream* st); 693 virtual void oop_print_on (oop obj, outputStream* st);
694 694
695 virtual const char* internal_name() const = 0; 695 virtual const char* internal_name() const = 0;
696 696
697 // Verification 697 // Verification
698 virtual void verify_on(outputStream* st, bool check_dictionary); 698 virtual void verify_on(outputStream* st);
699 void verify(bool check_dictionary = true) { verify_on(tty, check_dictionary); } 699 void verify() { verify_on(tty); }
700 700
701 #ifndef PRODUCT 701 #ifndef PRODUCT
702 bool verify_vtable_index(int index); 702 bool verify_vtable_index(int index);
703 bool verify_itable_index(int index); 703 bool verify_itable_index(int index);
704 #endif 704 #endif