Home
last modified time | relevance | path

Searched refs:segment (Results 1 – 13 of 13) sorted by relevance

/art/test/929-search/
Dsearch.cc34 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/
DMain.java30 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/
Dti_search.cc161 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 …]
Dti_search.h46 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);
DOpenjdkJvmTi.cc1239 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/
Dadd_to_loader.cc31 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/
Dcompile-jar.py126 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/
Delf_file.cc1240 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/
Dprofman.cc1541 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/
DMain.java206 public static native void addToClassLoaderNative(ClassLoader loader, String segment); in addToClassLoaderNative() argument
/art/tools/common/
Dcommon.py214 return ' '.join([shlex.quote(segment) for segment in cmd])
/art/runtime/interpreter/mterp/
DREADME.txt24 declarations for the segment type and alignment.
/art/openjdkjvmti/include/
Djvmti.h1751 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()