Mercurial > hg > truffle
comparison src/share/vm/classfile/systemDictionary.cpp @ 570:dca06e7f503d
Merge
author | kvn |
---|---|
date | Tue, 17 Feb 2009 14:30:24 -0800 |
parents | a0401dc51d0b 48bb4a49b7ac |
children | 0fbdb4381b99 |
comparison
equal
deleted
inserted
replaced
549:fe3d7c11b4b7 | 570:dca06e7f503d |
---|---|
844 klassOop SystemDictionary::find(symbolHandle class_name, | 844 klassOop SystemDictionary::find(symbolHandle class_name, |
845 Handle class_loader, | 845 Handle class_loader, |
846 Handle protection_domain, | 846 Handle protection_domain, |
847 TRAPS) { | 847 TRAPS) { |
848 | 848 |
849 // UseNewReflection | |
850 // The result of this call should be consistent with the result | |
851 // of the call to resolve_instance_class_or_null(). | |
852 // See evaluation 6790209 and 4474172 for more details. | |
853 class_loader = Handle(THREAD, java_lang_ClassLoader::non_reflection_class_loader(class_loader())); | |
854 | |
849 unsigned int d_hash = dictionary()->compute_hash(class_name, class_loader); | 855 unsigned int d_hash = dictionary()->compute_hash(class_name, class_loader); |
850 int d_index = dictionary()->hash_to_index(d_hash); | 856 int d_index = dictionary()->hash_to_index(d_hash); |
851 | 857 |
852 { | 858 { |
853 // Note that we have an entry, and entries can be deleted only during GC, | 859 // Note that we have an entry, and entries can be deleted only during GC, |