Home
last modified time | relevance | path

Searched refs:holder (Results 1 – 23 of 23) sorted by relevance

/art/test/080-oom-throw-with-finalizer/src/
DMain.java20 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/
DMain.java20 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/
DMain.java24 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/
DMain.java21 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/
DMain.java10 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/tools/amm/AmmTest/src/com/android/amm/test/
DSurfaceViewUse.java58 SurfaceHolder holder = mSurfaceView.getHolder(); in updateSurfaceView() local
59 Canvas canvas = holder.lockHardwareCanvas(); in updateSurfaceView()
63 holder.unlockCanvasAndPost(canvas); in updateSurfaceView()
/art/test/145-alloc-tracking-stress/src-art/
DMain.java28 static Object holder; field in Main
64 holder = new Object(); in run()
74 holder = new Object(); in run()
/art/openjdkjvmti/
Dti_extension.cc344 for (auto& holder : char_buffers) { in GetExtensionFunctions() local
345 holder.release(); in GetExtensionFunctions()
347 for (auto& holder : param_buffers) { in GetExtensionFunctions() local
348 holder.release(); in GetExtensionFunctions()
350 for (auto& holder : error_buffers) { in GetExtensionFunctions() local
351 holder.release(); in GetExtensionFunctions()
450 for (auto& holder : char_buffers) { in GetExtensionEvents() local
451 holder.release(); in GetExtensionEvents()
453 for (auto& holder : param_buffers) { in GetExtensionEvents() local
454 holder.release(); in GetExtensionEvents()
Dti_redefine.h154 bool CheckVerification(const RedefinitionDataIter& holder)
237 bool CheckAllClassesAreVerified(RedefinitionDataHolder& holder)
239 bool EnsureAllClassAllocationsFinished(RedefinitionDataHolder& holder)
241 bool FinishAllRemainingAllocations(RedefinitionDataHolder& holder)
247 void RestoreObsoleteMethodMapsIfUnneeded(RedefinitionDataHolder& holder)
Dti_redefine.cc1041 RedefinitionDataIter(int32_t idx, RedefinitionDataHolder& holder) : idx_(idx), holder_(holder) {} in RedefinitionDataIter() argument
1326 void Redefiner::RestoreObsoleteMethodMapsIfUnneeded(RedefinitionDataHolder& holder) { in RestoreObsoleteMethodMapsIfUnneeded() argument
1327 for (RedefinitionDataIter data = holder.begin(); data != holder.end(); ++data) { in RestoreObsoleteMethodMapsIfUnneeded()
1332 bool Redefiner::EnsureAllClassAllocationsFinished(RedefinitionDataHolder& holder) { in EnsureAllClassAllocationsFinished() argument
1333 for (RedefinitionDataIter data = holder.begin(); data != holder.end(); ++data) { in EnsureAllClassAllocationsFinished()
1341 bool Redefiner::FinishAllRemainingAllocations(RedefinitionDataHolder& holder) { in FinishAllRemainingAllocations() argument
1342 for (RedefinitionDataIter data = holder.begin(); data != holder.end(); ++data) { in FinishAllRemainingAllocations()
1361 bool Redefiner::CheckAllClassesAreVerified(RedefinitionDataHolder& holder) { in CheckAllClassesAreVerified() argument
1362 for (RedefinitionDataIter data = holder.begin(); data != holder.end(); ++data) { in CheckAllClassesAreVerified()
1393 RedefinitionDataHolder holder(&hs, runtime_, self_, &redefinitions_); in Run() local
[all …]
/art/runtime/gc/collector/
Dconcurrent_copying-inl.h129 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()
Dmark_sweep.h213 void MarkObject(mirror::Object* obj, mirror::Object* holder, MemberOffset offset)
238 mirror::Object* holder = nullptr,
Dconcurrent_copying.h127 mirror::Object* holder = nullptr,
163 mirror::Object* holder,
292 mirror::Object* holder = nullptr,
Dmark_sweep.cc430 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()
Dconcurrent_copying.cc616 ObjPtr<mirror::Object> holder, in CheckReference() argument
627 << mirror::Object::PrettyTypeOf(ref) << " in holder " << holder << " " in CheckReference()
628 << mirror::Object::PrettyTypeOf(holder) << " offset=" << offset.Uint32Value(); in CheckReference()
660 VerifyNoMissingCardMarkVisitor(ConcurrentCopying* cc, ObjPtr<mirror::Object> holder) in VerifyNoMissingCardMarkVisitor() argument
662 holder_(holder) {} in VerifyNoMissingCardMarkVisitor()
1830 mirror::Object* holder = nullptr) const in operator ()() argument
1836 collector_->AssertToSpaceInvariant(holder, offset, ref); in operator ()()
3316 mirror::Object* holder, in Copy() argument
3325 heap_->GetVerification()->LogHeapCorruption(holder, offset, from_ref, /* fatal= */ true); in Copy()
3541 mirror::Object* holder, in MarkNonMoving() argument
[all …]
/art/runtime/gc/
Dverification.cc85 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()
Dverification.h47 void LogHeapCorruption(ObjPtr<mirror::Object> holder,
/art/test/069-field-type/
Dinfo.txt3 versions of the field-holder class we can bypass the compiler's type
/art/test/1931-monitor-events/src/art/
DTest1931.java96 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/
DMain.java480 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/
Druntime.cc689 for (gc::AbstractSystemWeakHolder* holder : system_weak_holders_) { in SweepSystemWeaks()
690 holder->Sweep(visitor); in SweepSystemWeaks()
2245 for (gc::AbstractSystemWeakHolder* holder : system_weak_holders_) { in DisallowNewSystemWeaks()
2246 holder->Disallow(); in DisallowNewSystemWeaks()
2261 for (gc::AbstractSystemWeakHolder* holder : system_weak_holders_) { in AllowNewSystemWeaks()
2262 holder->Allow(); in AllowNewSystemWeaks()
2279 for (gc::AbstractSystemWeakHolder* holder : system_weak_holders_) { in BroadcastForNewSystemWeaks()
2280 holder->Broadcast(broadcast_for_checkpoint); in BroadcastForNewSystemWeaks()
2713 void Runtime::AddSystemWeakHolder(gc::AbstractSystemWeakHolder* holder) { in AddSystemWeakHolder() argument
2719 system_weak_holders_.push_back(holder); in AddSystemWeakHolder()
[all …]
Druntime.h782 void AddSystemWeakHolder(gc::AbstractSystemWeakHolder* holder);
783 void RemoveSystemWeakHolder(gc::AbstractSystemWeakHolder* holder);
/art/compiler/optimizing/
Dnodes.h1915 HInstruction* holder) in HEnvironment() argument
1921 holder_(holder) { in HEnvironment()
1926 HInstruction* holder) in HEnvironment() argument
1931 holder) {} in HEnvironment()