6920977: G1: guarantee(k == probe->klass(),"klass should be in dictionary") fails

The guarantee is too strict and the test will fail (incorrectly) if the class is not in the system dictionary but in the placeholders.

Reviewed-by: acorn, phh
This commit is contained in:
Antonios Printezis 2010-02-05 11:05:50 -05:00
parent e003616106
commit c157b744ed
4 changed files with 22 additions and 4 deletions

View file

@ -2573,7 +2573,7 @@ void SystemDictionary::verify() {
// Verify constraint table
guarantee(constraints() != NULL, "Verify of loader constraints failed");
constraints()->verify(dictionary());
constraints()->verify(dictionary(), placeholders());
}