/art/test/080-oom-throw-with-finalizer/src/ |
D | Main.java | 20 static char [][] holder; field in Main 25 static void blowup(char[][] holder) { in blowup() argument 27 for (int i = 0; i < holder.length; ++i) { in blowup() 28 holder[i] = new char[1024 * 1024]; in blowup() 40 static boolean triggerArrayOOM(char[][] holder) { in triggerArrayOOM() argument 41 ArrayMemEater.blowup(holder); in triggerArrayOOM() 60 holder = new char[128 * 1024][]; in main() 61 if (!triggerArrayOOM(holder)) { in main() 64 holder = null; in main() 71 holder = null; in main() [all …]
|
/art/test/134-reg-promotion/src/ |
D | Main.java | 20 static char [][] holder; field in Main 25 for (int i = 0; i < holder.length; ++i) { in blowup() 26 holder[i] = new char[1024 * 1024]; in blowup() 37 holder = new char[128 * 1024][]; in main() 39 holder = null; in main() 43 holder = new char[128 * 1024][]; in main() 45 holder = null; in main()
|
/art/test/080-oom-throw/src/ |
D | Main.java | 24 static void blowup(char[][] holder) { in blowup() argument 26 for (int i = 0; i < holder.length; ++i) { in blowup() 27 holder[i] = new char[1024 * 1024]; in blowup() 114 static Object[] holder; field in Main 118 for (int i = 0; i < holder.length; ) { in blowup() 120 holder[i] = new char[size]; in blowup() 129 holder[0] = new char[100000]; in blowup() 136 holder = new Object[1000000]; in triggerReflectionOOM() 138 holder = null; in triggerReflectionOOM() 141 holder = null; in triggerReflectionOOM() [all …]
|
/art/test/080-oom-fragmentation/src/ |
D | Main.java | 21 Object[] holder = new Object[(int)maxMem / 16]; in main() local 25 holder[count++] = new Object[1025]; // A bit over one page. in main() 29 holder[i] = null; in main() 33 holder[0] = new Object[(int)maxMem / 8]; in main()
|
/art/test/069-field-type/src/ |
D | Main.java | 10 Holder holder = new Holder(); in main() local 15 holder.mValue = blah; in main() 21 holder.mValue.run(); in main() 29 Comparable cmp = (Comparable) holder.mValue; in main()
|
/art/test/145-alloc-tracking-stress/src-art/ |
D | Main.java | 28 static Object holder; field in Main 64 holder = new Object(); in run() 74 holder = new Object(); in run()
|
/art/openjdkjvmti/ |
D | ti_redefine.h | 175 bool FinishNewClassAllocations(RedefinitionDataHolder& holder, 206 bool CheckVerification(const RedefinitionDataIter& holder) 343 bool CheckAllClassesAreVerified(RedefinitionDataHolder& holder) 345 void MarkStructuralChanges(RedefinitionDataHolder& holder) 347 bool EnsureAllClassAllocationsFinished(RedefinitionDataHolder& holder) 349 bool FinishAllRemainingCommonAllocations(RedefinitionDataHolder& holder) 351 bool FinishAllNewClassAllocations(RedefinitionDataHolder& holder) 353 bool CollectAndCreateNewInstances(RedefinitionDataHolder& holder) 356 void ReverifyClasses(RedefinitionDataHolder& holder) REQUIRES_SHARED(art::Locks::mutator_lock_); 360 void RestoreObsoleteMethodMapsIfUnneeded(RedefinitionDataHolder& holder)
|
D | ti_extension.cc | 506 for (auto& holder : char_buffers) { in GetExtensionFunctions() local 507 holder.release(); in GetExtensionFunctions() 509 for (auto& holder : param_buffers) { in GetExtensionFunctions() local 510 holder.release(); in GetExtensionFunctions() 512 for (auto& holder : error_buffers) { in GetExtensionFunctions() local 513 holder.release(); in GetExtensionFunctions() 674 for (auto& holder : char_buffers) { in GetExtensionEvents() local 675 holder.release(); in GetExtensionEvents() 677 for (auto& holder : param_buffers) { in GetExtensionEvents() local 678 holder.release(); in GetExtensionEvents()
|
D | ti_redefine.cc | 1418 RedefinitionDataIter(int32_t idx, RedefinitionDataHolder& holder) : idx_(idx), holder_(holder) {} in RedefinitionDataIter() argument 1852 bool Redefiner::ClassRedefinition::FinishNewClassAllocations(RedefinitionDataHolder &holder, in FinishNewClassAllocations() argument 1972 *cur_data + 1, holder.end(), [&](auto it) REQUIRES_SHARED(art::Locks::mutator_lock_) { in FinishNewClassAllocations() 1976 if (new_redef == holder.end()) { in FinishNewClassAllocations() 2170 void Redefiner::RestoreObsoleteMethodMapsIfUnneeded(RedefinitionDataHolder& holder) { in RestoreObsoleteMethodMapsIfUnneeded() argument 2171 for (RedefinitionDataIter data = holder.begin(); data != holder.end(); ++data) { in RestoreObsoleteMethodMapsIfUnneeded() 2176 void Redefiner::MarkStructuralChanges(RedefinitionDataHolder& holder) { in MarkStructuralChanges() argument 2177 for (RedefinitionDataIter data = holder.begin(); data != holder.end(); ++data) { in MarkStructuralChanges() 2185 for (RedefinitionDataIter sub_data = data + 1; sub_data != holder.end(); ++sub_data) { in MarkStructuralChanges() 2195 bool Redefiner::EnsureAllClassAllocationsFinished(RedefinitionDataHolder& holder) { in EnsureAllClassAllocationsFinished() argument [all …]
|
/art/runtime/gc/collector/ |
D | concurrent_copying-inl.h | 129 mirror::Object* holder, in Mark() argument 165 to_ref = Copy(self, from_ref, holder, offset); in Mark() 185 LOG(FATAL_WITHOUT_ABORT) << DumpHeapReference(holder, offset, from_ref); in Mark() 187 heap_->GetVerification()->LogHeapCorruption(holder, offset, from_ref, /* fatal= */ true); in Mark() 194 return MarkNonMoving(self, from_ref, holder, offset); in Mark()
|
D | mark_sweep.h | 213 void MarkObject(mirror::Object* obj, mirror::Object* holder, MemberOffset offset) 238 mirror::Object* holder = nullptr,
|
D | concurrent_copying.h | 129 mirror::Object* holder = nullptr, 166 mirror::Object* holder, 295 mirror::Object* holder = nullptr,
|
D | mark_sweep.cc | 430 mirror::Object* holder = nullptr, in MarkObjectSlowPath() argument 433 holder_(holder), in MarkObjectSlowPath() 498 mirror::Object* holder, in MarkObjectNonNull() argument 521 MarkObjectSlowPath visitor(this, holder, offset); in MarkObjectNonNull() 567 mirror::Object* holder, in MarkObject() argument 570 MarkObjectNonNull(obj, holder, offset); in MarkObject()
|
/art/runtime/gc/ |
D | verification.cc | 85 void Verification::LogHeapCorruption(ObjPtr<mirror::Object> holder, in LogHeapCorruption() argument 99 oss << DumpObjectInfo(holder.Ptr(), "holder"); in LogHeapCorruption() 100 if (holder != nullptr) { in LogHeapCorruption() 101 mirror::Class* holder_klass = holder->GetClass<kVerifyNone, kWithoutReadBarrier>(); in LogHeapCorruption() 104 ArtField* field = holder->FindFieldByOffset(offset); in LogHeapCorruption() 109 mirror::HeapReference<mirror::Object>* addr = holder->GetFieldObjectReferenceAddr(offset); in LogHeapCorruption()
|
D | verification.h | 47 void LogHeapCorruption(ObjPtr<mirror::Object> holder,
|
/art/test/069-field-type/ |
D | info.txt | 3 versions of the field-holder class we can bypass the compiler's type
|
/art/test/1004-checker-volatile-ref-load/ |
D | info.txt | 3 Baker read barrier thunk, so that a null holder object is properly
|
/art/test/1931-monitor-events/src/art/ |
D | Test1931.java | 96 Thread holder = new Thread(() -> { in testPark() local 99 holder.start(); in testPark() 100 holder.join(); in testPark()
|
/art/test/476-checker-ctor-fence-redun-elim/src/ |
D | Main.java | 480 public Object holder; field in TestDontOptimizeAcrossEscape.InstanceEscaper 488 return String.format("holder: %s", Main.valueToString(holder)); in baseString() 514 instanceEscaper.holder = b; in exercise()
|
/art/runtime/ |
D | runtime.cc | 720 for (gc::AbstractSystemWeakHolder* holder : system_weak_holders_) { in SweepSystemWeaks() 721 holder->Sweep(visitor); in SweepSystemWeaks() 2336 for (gc::AbstractSystemWeakHolder* holder : system_weak_holders_) { in DisallowNewSystemWeaks() 2337 holder->Disallow(); in DisallowNewSystemWeaks() 2352 for (gc::AbstractSystemWeakHolder* holder : system_weak_holders_) { in AllowNewSystemWeaks() 2353 holder->Allow(); in AllowNewSystemWeaks() 2370 for (gc::AbstractSystemWeakHolder* holder : system_weak_holders_) { in BroadcastForNewSystemWeaks() 2371 holder->Broadcast(broadcast_for_checkpoint); in BroadcastForNewSystemWeaks() 2808 void Runtime::AddSystemWeakHolder(gc::AbstractSystemWeakHolder* holder) { in AddSystemWeakHolder() argument 2814 system_weak_holders_.push_back(holder); in AddSystemWeakHolder() [all …]
|
D | runtime.h | 862 void AddSystemWeakHolder(gc::AbstractSystemWeakHolder* holder); 863 void RemoveSystemWeakHolder(gc::AbstractSystemWeakHolder* holder);
|
/art/compiler/optimizing/ |
D | instruction_simplifier.cc | 2601 HInstruction* holder = use.GetUser()->GetHolder(); in TryReplaceStringBuilderAppend() local 2602 if (holder->GetBlock() != block) { in TryReplaceStringBuilderAppend() 2607 if (holder->InputCount() == 0 || holder->InputAt(0) != sb) { in TryReplaceStringBuilderAppend()
|