Mercurial > hg > graal-jvmci-8
comparison src/share/vm/classfile/verifier.cpp @ 24140:d4858e92c9b1
[GR-4077] support Graal.SDK on the boot class path and Truffle on a class path invisible to apps but visible to JVMCI
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 13 Jun 2017 14:22:54 +0200 |
parents | 9b69cec6d01b |
children |
comparison
equal
deleted
inserted
replaced
24139:0c5304ad61bd | 24140:d4858e92c9b1 |
---|---|
92 | 92 |
93 | 93 |
94 // Methods in Verifier | 94 // Methods in Verifier |
95 | 95 |
96 bool Verifier::should_verify_for(oop class_loader, bool should_verify_class) { | 96 bool Verifier::should_verify_for(oop class_loader, bool should_verify_class) { |
97 return (class_loader == NULL JVMCI_ONLY(|| class_loader == SystemDictionary::jvmci_loader()) || !should_verify_class) ? | 97 return (class_loader == NULL JVMCI_ONLY(|| SystemDictionary::in_jvmci_loader_hierarchy(class_loader)) || !should_verify_class) ? |
98 BytecodeVerificationLocal : BytecodeVerificationRemote; | 98 BytecodeVerificationLocal : BytecodeVerificationRemote; |
99 } | 99 } |
100 | 100 |
101 bool Verifier::relax_verify_for(oop loader) { | 101 bool Verifier::relax_verify_for(oop loader) { |
102 bool trusted = java_lang_ClassLoader::is_trusted_loader(loader); | 102 bool trusted = java_lang_ClassLoader::is_trusted_loader(loader); |