Lines Matching refs:Redefiner
343 Redefiner::IsModifiableClassGeneric(jvmtiEnv* env, jclass klass, jboolean* is_redefinable) { in IsModifiableClassGeneric()
357 Redefiner::GetClassRedefinitionError<kType>(h_klass, &err_unused) != ERR(UNMODIFIABLE_CLASS) in IsModifiableClassGeneric()
364 Redefiner::IsStructurallyModifiableClass(jvmtiEnv* env, jclass klass, jboolean* is_redefinable) { in IsStructurallyModifiableClass()
365 return Redefiner::IsModifiableClassGeneric<RedefinitionType::kStructural>( in IsStructurallyModifiableClass()
369 jvmtiError Redefiner::IsModifiableClass(jvmtiEnv* env, jclass klass, jboolean* is_redefinable) { in IsModifiableClass()
370 return Redefiner::IsModifiableClassGeneric<RedefinitionType::kNormal>(env, klass, is_redefinable); in IsModifiableClass()
374 jvmtiError Redefiner::GetClassRedefinitionError(jclass klass, /*out*/ std::string* error_msg) { in GetClassRedefinitionError()
383 return Redefiner::GetClassRedefinitionError<kType>(h_klass, error_msg); in GetClassRedefinitionError()
387 jvmtiError Redefiner::GetClassRedefinitionError(art::Handle<art::mirror::Class> klass, in GetClassRedefinitionError()
506 template jvmtiError Redefiner::GetClassRedefinitionError<RedefinitionType::kNormal>(
508 template jvmtiError Redefiner::GetClassRedefinitionError<RedefinitionType::kStructural>(
512 art::MemMap Redefiner::MoveDataToMemMap(const std::string& original_location, in MoveDataToMemMap()
530 Redefiner::ClassRedefinition::ClassRedefinition( in ClassRedefinition()
531 Redefiner* driver, in ClassRedefinition()
544 Redefiner::ClassRedefinition::~ClassRedefinition() { in ~ClassRedefinition()
551 jvmtiError Redefiner::RedefineClassesGeneric(jvmtiEnv* jenv, in RedefineClassesGeneric()
574 jvmtiError res = Redefiner::GetClassRedefinitionError<RedefinitionType::kNormal>( in RedefineClassesGeneric()
600 jvmtiError Redefiner::StructurallyRedefineClasses(jvmtiEnv* jenv, in StructurallyRedefineClasses()
612 jvmtiError Redefiner::RedefineClasses(jvmtiEnv* jenv, in RedefineClasses()
618 jvmtiError Redefiner::StructurallyRedefineClassDirect(jvmtiEnv* env, in StructurallyRedefineClassDirect()
650 jvmtiError Redefiner::RedefineClassesDirect(ArtJvmTiEnv* env, in RedefineClassesDirect()
672 Redefiner r(env, runtime, self, type, error_msg); in RedefineClassesDirect()
685 jvmtiError Redefiner::AddRedefinition(ArtJvmTiEnv* env, const ArtClassDefinition& def) { in AddRedefinition()
727 Redefiner::ClassRedefinition(this, in AddRedefinition()
735 art::ObjPtr<art::mirror::Class> Redefiner::ClassRedefinition::GetMirrorClass() { in GetMirrorClass()
739 art::ObjPtr<art::mirror::ClassLoader> Redefiner::ClassRedefinition::GetClassLoader() { in GetClassLoader()
743 art::mirror::DexCache* Redefiner::ClassRedefinition::CreateNewDexCache( in CreateNewDexCache()
771 void Redefiner::RecordFailure(jvmtiError result, in RecordFailure()
780 art::mirror::Object* Redefiner::ClassRedefinition::AllocateOrGetOriginalDexFile() { in AllocateOrGetOriginalDexFile()
829 void Redefiner::ClassRedefinition::FindAndAllocateObsoleteMethods( in FindAndAllocateObsoleteMethods()
922 void Redefiner::ClassRedefinition::RecordNewMethodAdded() { in RecordNewMethodAdded()
926 void Redefiner::ClassRedefinition::RecordNewFieldAdded() { in RecordNewFieldAdded()
931 bool Redefiner::ClassRedefinition::CheckMethods() { in CheckMethods()
1013 bool Redefiner::ClassRedefinition::CheckFields() { in CheckFields()
1072 bool Redefiner::ClassRedefinition::CheckClass() { in CheckClass()
1150 bool Redefiner::ClassRedefinition::CheckRedefinable() { in CheckRedefinable()
1157 res = Redefiner::GetClassRedefinitionError<RedefinitionType::kStructural>(h_klass, &err); in CheckRedefinable()
1159 res = Redefiner::GetClassRedefinitionError<RedefinitionType::kNormal>(h_klass, &err); in CheckRedefinable()
1169 bool Redefiner::ClassRedefinition::CheckRedefinitionIsValid() { in CheckRedefinitionIsValid()
1205 std::vector<Redefiner::ClassRedefinition>* redefinitions) in RedefinitionDataHolder()
1369 std::vector<Redefiner::ClassRedefinition>* GetRedefinitions() in GetRedefinitions()
1389 std::vector<Redefiner::ClassRedefinition>* redefinitions_;
1462 Redefiner::ClassRedefinition& GetRedefinition() REQUIRES_SHARED(art::Locks::mutator_lock_) { in GetRedefinition()
1612 bool Redefiner::ClassRedefinition::CheckVerification(const RedefinitionDataIter& iter) { in CheckVerification()
1651 bool Redefiner::ClassRedefinition::AllocateAndRememberNewDexFileCookie( in AllocateAndRememberNewDexFileCookie()
1714 bool Redefiner::ClassRedefinition::CollectAndCreateNewInstances( in CollectAndCreateNewInstances()
1808 bool Redefiner::ClassRedefinition::FinishRemainingCommonAllocations( in FinishRemainingCommonAllocations()
1852 bool Redefiner::ClassRedefinition::FinishNewClassAllocations(RedefinitionDataHolder &holder, in FinishNewClassAllocations()
2000 uint32_t Redefiner::ClassRedefinition::GetNewClassSize(art::ClassAccessor& accessor) { in GetNewClassSize()
2035 Redefiner::ClassRedefinition::AllocateNewClassObject(art::Handle<art::mirror::DexCache> cache) { in AllocateNewClassObject()
2042 art::ObjPtr<art::mirror::Class> Redefiner::ClassRedefinition::AllocateNewClassObject( in AllocateNewClassObject()
2151 void Redefiner::ClassRedefinition::UnregisterJvmtiBreakpoints() { in UnregisterJvmtiBreakpoints()
2155 void Redefiner::UnregisterAllBreakpoints() { in UnregisterAllBreakpoints()
2156 for (Redefiner::ClassRedefinition& redef : redefinitions_) { in UnregisterAllBreakpoints()
2161 bool Redefiner::CheckAllRedefinitionAreValid() { in CheckAllRedefinitionAreValid()
2162 for (Redefiner::ClassRedefinition& redef : redefinitions_) { in CheckAllRedefinitionAreValid()
2170 void Redefiner::RestoreObsoleteMethodMapsIfUnneeded(RedefinitionDataHolder& holder) { in RestoreObsoleteMethodMapsIfUnneeded()
2176 void Redefiner::MarkStructuralChanges(RedefinitionDataHolder& holder) { in MarkStructuralChanges()
2195 bool Redefiner::EnsureAllClassAllocationsFinished(RedefinitionDataHolder& holder) { in EnsureAllClassAllocationsFinished()
2204 bool Redefiner::CollectAndCreateNewInstances(RedefinitionDataHolder& holder) { in CollectAndCreateNewInstances()
2214 bool Redefiner::FinishAllNewClassAllocations(RedefinitionDataHolder& holder) { in FinishAllNewClassAllocations()
2224 bool Redefiner::FinishAllRemainingCommonAllocations(RedefinitionDataHolder& holder) { in FinishAllRemainingCommonAllocations()
2234 void Redefiner::ClassRedefinition::ReleaseDexFile() { in ReleaseDexFile()
2238 void Redefiner::ReleaseAllDexFiles() { in ReleaseAllDexFiles()
2239 for (Redefiner::ClassRedefinition& redef : redefinitions_) { in ReleaseAllDexFiles()
2244 bool Redefiner::CheckAllClassesAreVerified(RedefinitionDataHolder& holder) { in CheckAllClassesAreVerified()
2446 jvmtiError Redefiner::Run() { in Run()
2532 void Redefiner::ReverifyClasses(RedefinitionDataHolder& holder) { in ReverifyClasses()
2538 void Redefiner::ClassRedefinition::ReverifyClass(const RedefinitionDataIter &cur_data) { in ReverifyClass()
2556 void Redefiner::ClassRedefinition::UpdateMethods(art::ObjPtr<art::mirror::Class> mclass, in UpdateMethods()
2592 void Redefiner::ClassRedefinition::UpdateFields(art::ObjPtr<art::mirror::Class> mclass) { in UpdateFields()
2612 void Redefiner::ClassRedefinition::CollectNewFieldAndMethodMappings( in CollectNewFieldAndMethodMappings()
2755 void Redefiner::ClassRedefinition::UpdateClassStructurally(const RedefinitionDataIter& holder) { in UpdateClassStructurally()
2974 void Redefiner::ClassRedefinition::UpdateClassInPlace(const RedefinitionDataIter& holder) { in UpdateClassInPlace()
3024 void Redefiner::ClassRedefinition::UpdateClass(const RedefinitionDataIter& holder) { in UpdateClass()
3034 void Redefiner::ClassRedefinition::UpdateClassCommon(const RedefinitionDataIter &cur_data) { in UpdateClassCommon()
3054 void Redefiner::ClassRedefinition::RestoreObsoleteMethodMapsIfUnneeded( in RestoreObsoleteMethodMapsIfUnneeded()
3090 bool Redefiner::ClassRedefinition::EnsureClassAllocationsFinished( in EnsureClassAllocationsFinished()