Mercurial > hg > truffle
comparison src/share/vm/classfile/systemDictionary.cpp @ 10220:800078be49d2
8013648: Guarantee(VerifyBeforeGC || VerifyDuringGC || VerifyBeforeExit || VerifyAfterGC) failed: too expensive
Summary: Fix code to call correct version of function find_class().
Reviewed-by: coleenp, rdurbin, dcubed
author | hseigel |
---|---|
date | Mon, 06 May 2013 09:10:21 -0400 |
parents | 68fe50d4f1d5 |
children | 43083e670adf |
comparison
equal
deleted
inserted
replaced
10219:9c8e2f44228d | 10220:800078be49d2 |
---|---|
828 // so nothing to clean up. | 828 // so nothing to clean up. |
829 } else { | 829 } else { |
830 Klass *kk; | 830 Klass *kk; |
831 { | 831 { |
832 MutexLocker mu(SystemDictionary_lock, THREAD); | 832 MutexLocker mu(SystemDictionary_lock, THREAD); |
833 kk = find_class(name, ik->class_loader_data()); | 833 kk = find_class(d_index, d_hash, name, ik->class_loader_data()); |
834 } | 834 } |
835 if (kk != NULL) { | 835 if (kk != NULL) { |
836 // No clean up is needed if the shared class has been entered | 836 // No clean up is needed if the shared class has been entered |
837 // into system dictionary, as load_shared_class() won't be called | 837 // into system dictionary, as load_shared_class() won't be called |
838 // again. | 838 // again. |