< prev index next >
src/share/vm/prims/jvmtiEnv.cpp
Print this page
*** 465,475 ****
}
// lock the loader
Thread* thread = Thread::current();
HandleMark hm;
! Handle loader_lock = Handle(thread, SystemDictionary::system_loader_lock());
ObjectLocker ol(loader_lock, thread);
// add the jar file to the bootclasspath
if (TraceClassLoading) {
--- 465,475 ----
}
// lock the loader
Thread* thread = Thread::current();
HandleMark hm;
! Handle loader_lock = Handle(thread, oopDesc::bs()->write_barrier(SystemDictionary::system_loader_lock()));
ObjectLocker ol(loader_lock, thread);
// add the jar file to the bootclasspath
if (TraceClassLoading) {
*** 511,521 ****
}
delete zip_entry; // no longer needed
// lock the loader
Thread* THREAD = Thread::current();
! Handle loader = Handle(THREAD, SystemDictionary::java_system_loader());
ObjectLocker ol(loader, THREAD);
// need the path as java.lang.String
Handle path = java_lang_String::create_from_platform_dependent_str(segment, THREAD);
--- 511,521 ----
}
delete zip_entry; // no longer needed
// lock the loader
Thread* THREAD = Thread::current();
! Handle loader = Handle(THREAD, oopDesc::bs()->write_barrier(SystemDictionary::java_system_loader()));
ObjectLocker ol(loader, THREAD);
// need the path as java.lang.String
Handle path = java_lang_String::create_from_platform_dependent_str(segment, THREAD);
< prev index next >