Mercurial > hg > graal-jvmci-8
comparison src/share/vm/oops/klass.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 | 40353abd7984 |
children | 7f0e0366ec81 9428a0b94204 |
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. |
636 } | 636 } |
637 #endif // INCLUDE_SERVICES | 637 #endif // INCLUDE_SERVICES |
638 | 638 |
639 // Verification | 639 // Verification |
640 | 640 |
641 void Klass::verify_on(outputStream* st, bool check_dictionary) { | 641 void Klass::verify_on(outputStream* st) { |
642 | 642 |
643 // This can be expensive, but it is worth checking that this klass is actually | 643 // This can be expensive, but it is worth checking that this klass is actually |
644 // in the CLD graph but not in production. | 644 // in the CLD graph but not in production. |
645 assert(ClassLoaderDataGraph::contains((address)this), "Should be"); | 645 assert(ClassLoaderDataGraph::contains((address)this), "Should be"); |
646 | 646 |