/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() 137 static Object[] holder; field in Main 141 for (int i = 0; i < holder.length; ) { in blowup() 143 holder[i] = new char[size]; in blowup() 152 holder[0] = new char[100000]; in blowup() 159 holder = new Object[1000000]; in triggerReflectionOOM() 161 holder = null; in triggerReflectionOOM() 164 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) 333 bool CheckAllClassesAreVerified(RedefinitionDataHolder& holder) 335 void MarkStructuralChanges(RedefinitionDataHolder& holder) 337 bool EnsureAllClassAllocationsFinished(RedefinitionDataHolder& holder) 339 bool FinishAllRemainingCommonAllocations(RedefinitionDataHolder& holder) 341 bool FinishAllNewClassAllocations(RedefinitionDataHolder& holder) 343 bool CollectAndCreateNewInstances(RedefinitionDataHolder& holder) 346 void ReverifyClasses(RedefinitionDataHolder& holder) REQUIRES_SHARED(art::Locks::mutator_lock_); 350 void RestoreObsoleteMethodMapsIfUnneeded(RedefinitionDataHolder& holder)
|
D | ti_extension.cc | 546 for (auto& holder : char_buffers) { in GetExtensionFunctions() local 547 holder.release(); in GetExtensionFunctions() 549 for (auto& holder : param_buffers) { in GetExtensionFunctions() local 550 holder.release(); in GetExtensionFunctions() 552 for (auto& holder : error_buffers) { in GetExtensionFunctions() local 553 holder.release(); in GetExtensionFunctions() 714 for (auto& holder : char_buffers) { in GetExtensionEvents() local 715 holder.release(); in GetExtensionEvents() 717 for (auto& holder : param_buffers) { in GetExtensionEvents() local 718 holder.release(); in GetExtensionEvents()
|
D | ti_redefine.cc | 1421 RedefinitionDataIter(int32_t idx, RedefinitionDataHolder& holder) : idx_(idx), holder_(holder) {} in RedefinitionDataIter() argument 1867 bool Redefiner::ClassRedefinition::FinishNewClassAllocations(RedefinitionDataHolder &holder, in FinishNewClassAllocations() argument 1982 *cur_data + 1, holder.end(), [&](auto it) REQUIRES_SHARED(art::Locks::mutator_lock_) { in FinishNewClassAllocations() 1986 if (new_redef == holder.end()) { in FinishNewClassAllocations() 2176 void Redefiner::RestoreObsoleteMethodMapsIfUnneeded(RedefinitionDataHolder& holder) { in RestoreObsoleteMethodMapsIfUnneeded() argument 2177 for (RedefinitionDataIter data = holder.begin(); data != holder.end(); ++data) { in RestoreObsoleteMethodMapsIfUnneeded() 2182 void Redefiner::MarkStructuralChanges(RedefinitionDataHolder& holder) { in MarkStructuralChanges() argument 2183 for (RedefinitionDataIter data = holder.begin(); data != holder.end(); ++data) { in MarkStructuralChanges() 2191 for (RedefinitionDataIter sub_data = data + 1; sub_data != holder.end(); ++sub_data) { in MarkStructuralChanges() 2201 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 | 130 mirror::Object* holder = nullptr, 178 mirror::Object* holder, 303 mirror::Object* holder = nullptr,
|
D | mark_compact.h | 462 mirror::Object* holder = nullptr, 467 void MarkObject(mirror::Object* obj, mirror::Object* holder, MemberOffset offset) 473 mirror::Object* holder = nullptr,
|
D | mark_sweep.cc | 430 mirror::Object* holder = nullptr, in MarkObjectSlowPath() argument 433 holder_(holder), in MarkObjectSlowPath() 499 mirror::Object* holder, in MarkObjectNonNull() argument 522 MarkObjectSlowPath visitor(this, holder, offset); in MarkObjectNonNull() 568 mirror::Object* holder, in MarkObject() argument 571 MarkObjectNonNull(obj, holder, offset); in MarkObject()
|
D | concurrent_copying.cc | 643 ObjPtr<mirror::Object> holder, in CheckReference() argument 654 << mirror::Object::PrettyTypeOf(ref) << " in holder " << holder << " " in CheckReference() 655 << mirror::Object::PrettyTypeOf(holder) << " offset=" << offset.Uint32Value(); in CheckReference() 687 VerifyNoMissingCardMarkVisitor(ConcurrentCopying* cc, ObjPtr<mirror::Object> holder) in VerifyNoMissingCardMarkVisitor() argument 689 holder_(holder) {} in VerifyNoMissingCardMarkVisitor() 1920 mirror::Object* holder = nullptr) const in operator ()() argument 1926 collector_->AssertToSpaceInvariant(holder, offset, ref); in operator ()() 3453 mirror::Object* holder, in Copy() argument 3462 heap_->GetVerification()->LogHeapCorruption(holder, offset, from_ref, /* fatal= */ true); in Copy() 3673 mirror::Object* holder, in MarkNonMoving() argument [all …]
|
D | mark_compact.cc | 4664 mirror::Object* holder, in MarkObjectNonNull() argument 4667 if (MarkObjectNonNullNoPush</*kParallel*/false>(obj, holder, offset)) { in MarkObjectNonNull() 4674 mirror::Object* holder, in MarkObjectNonNullNoPush() argument 4694 heap_->GetVerification()->LogHeapCorruption(holder, offset, obj, /*fatal*/ true); in MarkObjectNonNullNoPush() 4714 mirror::Object* holder, in MarkObject() argument 4717 MarkObjectNonNull(obj, holder, offset); in MarkObject()
|
/art/runtime/interpreter/mterp/riscv64/ |
D | object.S | 278 % get_vreg("t0", "s7", is_unsigned=True) # t0 := holder 305 %def op_iget_volatile(width, zext, holder, dst, z0, z1): 306 % get_vreg(z0, holder, is_unsigned=True) # z0 := holder 340 % get_vreg("t0", "s7", is_unsigned=True) # t0 := holder 365 %def op_iget_object_slow_path(holder, dst, z0, z1): 378 % get_vreg(z0, holder, is_unsigned=True) # z0 := holder 442 % get_vreg("t0", "s7", is_unsigned=True) # t0 := holder 467 %def op_iput_volatile(width, holder, value, z0, z1): 468 % get_vreg(z0, holder, is_unsigned=True) # z0 := holder 514 % get_vreg("t0", "s7", is_unsigned=True) # t0 := holder [all …]
|
/art/runtime/gc/ |
D | verification.cc | 95 void Verification::LogHeapCorruption(ObjPtr<mirror::Object> holder, in LogHeapCorruption() argument 106 oss << DumpObjectInfo(holder.Ptr(), "holder") << "\n"; in LogHeapCorruption() 107 if (holder != nullptr) { in LogHeapCorruption() 108 mirror::Class* holder_klass = holder->GetClass<kVerifyNone, kWithoutReadBarrier>(); in LogHeapCorruption() 111 ArtField* field = holder->FindFieldByOffset(offset); in LogHeapCorruption() 116 mirror::HeapReference<mirror::Object>* addr = holder->GetFieldObjectReferenceAddr(offset); in LogHeapCorruption()
|
D | verification.h | 49 EXPORT 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 | 114 Thread holder = new Thread(() -> { in testPark() local 117 holder.start(); in testPark() 118 holder.join(); in testPark()
|
/art/test/476-checker-ctor-fence-redun-elim/src/ |
D | Main.java | 489 public Object holder; field in TestDontOptimizeAcrossEscape.InstanceEscaper 497 return String.format("holder: %s", Main.valueToString(holder)); in baseString() 523 instanceEscaper.holder = b; in exercise()
|
/art/runtime/ |
D | runtime.cc | 908 for (gc::AbstractSystemWeakHolder* holder : system_weak_holders_) { in SweepSystemWeaks() 909 holder->Sweep(visitor); in SweepSystemWeaks() 2791 for (gc::AbstractSystemWeakHolder* holder : system_weak_holders_) { in DisallowNewSystemWeaks() 2792 holder->Disallow(); in DisallowNewSystemWeaks() 2807 for (gc::AbstractSystemWeakHolder* holder : system_weak_holders_) { in AllowNewSystemWeaks() 2808 holder->Allow(); in AllowNewSystemWeaks() 2825 for (gc::AbstractSystemWeakHolder* holder : system_weak_holders_) { in BroadcastForNewSystemWeaks() 2826 holder->Broadcast(broadcast_for_checkpoint); in BroadcastForNewSystemWeaks() 3163 void Runtime::AddSystemWeakHolder(gc::AbstractSystemWeakHolder* holder) { in AddSystemWeakHolder() argument 3169 system_weak_holders_.push_back(holder); in AddSystemWeakHolder() [all …]
|
D | runtime.h | 919 EXPORT void AddSystemWeakHolder(gc::AbstractSystemWeakHolder* holder); 920 EXPORT void RemoveSystemWeakHolder(gc::AbstractSystemWeakHolder* holder);
|