/art/test/929-search/ |
D | search.cc | 34 JNIEnv* env, [[maybe_unused]] jclass Main_klass, jstring segment) { in Java_Main_addToBootClassLoader() argument 35 ScopedUtfChars utf(env, segment); in Java_Main_addToBootClassLoader() 44 JNIEnv* env, [[maybe_unused]] jclass Main_klass, jstring segment) { in Java_Main_addToSystemClassLoader() argument 45 ScopedUtfChars utf(env, segment); in Java_Main_addToSystemClassLoader()
|
/art/test/929-search/src/ |
D | Main.java | 30 private static void doTest(boolean boot, String segment, String className) throws Exception { in doTest() argument 34 addToBootClassLoader(segment); in doTest() 37 addToSystemClassLoader(segment); in doTest() 42 throw new RuntimeException(className + "(" + boot + "/" + segment + "): " + in doTest()
|
/art/openjdkjvmti/ |
D | ti_search.cc | 161 for (const std::string& segment : gSystemOnloadSegments) { in Update() local 165 str_value += segment; in Update() 224 const char* segment) { in AddToBootstrapClassLoaderSearch() argument 232 if (segment == nullptr) { in AddToBootstrapClassLoaderSearch() 238 art::ArtDexFileLoader dex_file_loader(segment); in AddToBootstrapClassLoaderSearch() 243 JVMTI_LOG(WARNING, env) << "Could not open " << segment << " for boot classpath extension: " in AddToBootstrapClassLoaderSearch() 248 current->AddExtraBootDexFiles(segment, segment, std::move(dex_files)); in AddToBootstrapClassLoaderSearch() 316 const char* segment) { in AddToDexClassLoader() argument 323 } else if (segment == nullptr) { in AddToDexClassLoader() 345 JVMTI_LOG(ERROR, jvmti_env) << "Unable to add " << segment << " to non BaseDexClassLoader!"; in AddToDexClassLoader() [all …]
|
D | ti_search.h | 46 static jvmtiError AddToBootstrapClassLoaderSearch(jvmtiEnv* env, const char* segment); 48 static jvmtiError AddToSystemClassLoaderSearch(jvmtiEnv* env, const char* segment); 50 static jvmtiError AddToDexClassLoader(jvmtiEnv* env, jobject classloader, const char* segment);
|
D | OpenjdkJvmTi.cc | 1239 static jvmtiError AddToBootstrapClassLoaderSearch(jvmtiEnv* env, const char* segment) { in AddToBootstrapClassLoaderSearch() argument 1241 return SearchUtil::AddToBootstrapClassLoaderSearch(env, segment); in AddToBootstrapClassLoaderSearch() 1244 static jvmtiError AddToSystemClassLoaderSearch(jvmtiEnv* env, const char* segment) { in AddToSystemClassLoaderSearch() argument 1246 return SearchUtil::AddToSystemClassLoaderSearch(env, segment); in AddToSystemClassLoaderSearch()
|
/art/test/1964-add-to-dex-classloader-file/ |
D | add_to_loader.cc | 31 const char* segment); 73 jstring segment) { in Java_Main_addToClassLoaderNative() argument 79 const char* chars = env->GetStringUTFChars(segment, nullptr); in Java_Main_addToClassLoaderNative() 86 env->ReleaseStringUTFChars(segment, chars); in Java_Main_addToClassLoaderNative()
|
/art/tools/ |
D | compile-jar.py | 126 def extend_bcp(segment: str): 128 if segment.startswith("-Xbootclasspath:"): 129 return ":".join(itertools.chain((segment,), add_files)) 130 elif segment.startswith("-Xbootclasspath-locations:"): 131 return ":".join(itertools.chain((segment,), add_locs)) 133 return segment
|
/art/runtime/oat/ |
D | elf_file.cc | 1240 MemMap segment = in Load() local 1252 if (!segment.IsValid()) { in Load() 1257 if (segment.Begin() != p_vaddr) { in Load() 1260 i, file->GetPath().c_str(), p_vaddr, segment.Begin()); in Load() 1263 segments_.push_back(std::move(segment)); in Load() 1268 MemMap segment = MemMap::MapAnonymous(name.c_str(), in Load() local 1276 if (!segment.IsValid()) { in Load() 1281 if (segment.Begin() != p_vaddr) { in Load() 1284 i, file->GetPath().c_str(), p_vaddr, segment.Begin()); in Load() 1287 segments_.push_back(std::move(segment)); in Load() [all …]
|
/art/profman/ |
D | profman.cc | 1541 for (const InlineCacheSegment& segment : segments) { in ProcessLine() local 1543 if (segment.IsSingleReceiver()) { in ProcessLine() 1553 std::string_view receiver_descriptor = segment.GetReceiverType(); in ProcessLine() 1557 << segment.GetReceiverType() << " in dex-file " in ProcessLine() 1559 << segment << "'"; in ProcessLine() 1570 bool missing_types = segment.GetIcTargets()[0] == kMissingTypesMarker; in ProcessLine() 1572 segment.GetIcTargets()[0] == kMegamorphicTypesMarker; in ProcessLine() 1575 classes.reserve(segment.NumIcTargets()); in ProcessLine() 1576 for (const std::string_view& ic_class : segment.GetIcTargets()) { in ProcessLine() 1587 LOG(segment.IsSingleReceiver() ? ERROR : WARNING) in ProcessLine() [all …]
|
/art/test/1964-add-to-dex-classloader-file/src/ |
D | Main.java | 206 public static native void addToClassLoaderNative(ClassLoader loader, String segment); in addToClassLoaderNative() argument
|
/art/tools/common/ |
D | common.py | 214 return ' '.join([shlex.quote(segment) for segment in cmd])
|
/art/runtime/interpreter/mterp/ |
D | README.txt | 24 declarations for the segment type and alignment.
|
/art/openjdkjvmti/include/ |
D | jvmti.h | 1751 const char* segment); 1760 const char* segment); 2468 jvmtiError AddToBootstrapClassLoaderSearch(const char* segment) { in AddToBootstrapClassLoaderSearch() 2469 return functions->AddToBootstrapClassLoaderSearch(this, segment); in AddToBootstrapClassLoaderSearch() 2472 jvmtiError AddToSystemClassLoaderSearch(const char* segment) { in AddToSystemClassLoaderSearch() 2473 return functions->AddToSystemClassLoaderSearch(this, segment); in AddToSystemClassLoaderSearch()
|