Mercurial > hg > graal-compiler
comparison src/share/vm/prims/jvm.cpp @ 16396:5c0f2b338874
made -esa apply to Graal classes even if they are not loaded by the boot class loader
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 03 Jul 2014 18:57:20 +0200 |
parents | 53a0a0b8c234 |
children | 3482684330ee |
comparison
equal
deleted
inserted
replaced
16395:ad431bf0de07 | 16396:5c0f2b338874 |
---|---|
2225 assert(k->oop_is_instance(), "must be an instance klass"); | 2225 assert(k->oop_is_instance(), "must be an instance klass"); |
2226 if (! k->oop_is_instance()) return false; | 2226 if (! k->oop_is_instance()) return false; |
2227 | 2227 |
2228 ResourceMark rm(THREAD); | 2228 ResourceMark rm(THREAD); |
2229 const char* name = k->name()->as_C_string(); | 2229 const char* name = k->name()->as_C_string(); |
2230 bool system_class = k->class_loader() == NULL; | 2230 bool system_class = k->class_loader() == NULL GRAAL_ONLY(|| SystemDictionary::graal_loader() == k->class_loader()); |
2231 return JavaAssertions::enabled(name, system_class); | 2231 return JavaAssertions::enabled(name, system_class); |
2232 | 2232 |
2233 JVM_END | 2233 JVM_END |
2234 | 2234 |
2235 | 2235 |