Home
last modified time | relevance | path

Searched refs:holder (Results 1 – 22 of 22) 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/
DMain.java25 static Object holder; field in Main
60 holder = new Object(); in run()
70 holder = new Object(); in run()
/art/openjdkjvmti/
Dti_extension.cc269 for (auto& holder : char_buffers) { in GetExtensionFunctions() local
270 holder.release(); in GetExtensionFunctions()
272 for (auto& holder : param_buffers) { in GetExtensionFunctions() local
273 holder.release(); in GetExtensionFunctions()
275 for (auto& holder : error_buffers) { in GetExtensionFunctions() local
276 holder.release(); in GetExtensionFunctions()
375 for (auto& holder : char_buffers) { in GetExtensionEvents() local
376 holder.release(); in GetExtensionEvents()
378 for (auto& holder : param_buffers) { in GetExtensionEvents() local
379 holder.release(); in GetExtensionEvents()
Dti_redefine.h163 bool CheckVerification(const RedefinitionDataIter& holder)
246 bool CheckAllClassesAreVerified(RedefinitionDataHolder& holder)
248 bool EnsureAllClassAllocationsFinished(RedefinitionDataHolder& holder)
250 bool FinishAllRemainingAllocations(RedefinitionDataHolder& holder)
256 void RestoreObsoleteMethodMapsIfUnneeded(RedefinitionDataHolder& holder)
Dti_redefine.cc990 RedefinitionDataIter(int32_t idx, RedefinitionDataHolder& holder) : idx_(idx), holder_(holder) {} in RedefinitionDataIter() argument
1267 void Redefiner::RestoreObsoleteMethodMapsIfUnneeded(RedefinitionDataHolder& holder) { in RestoreObsoleteMethodMapsIfUnneeded() argument
1268 for (RedefinitionDataIter data = holder.begin(); data != holder.end(); ++data) { in RestoreObsoleteMethodMapsIfUnneeded()
1273 bool Redefiner::EnsureAllClassAllocationsFinished(RedefinitionDataHolder& holder) { in EnsureAllClassAllocationsFinished() argument
1274 for (RedefinitionDataIter data = holder.begin(); data != holder.end(); ++data) { in EnsureAllClassAllocationsFinished()
1282 bool Redefiner::FinishAllRemainingAllocations(RedefinitionDataHolder& holder) { in FinishAllRemainingAllocations() argument
1283 for (RedefinitionDataIter data = holder.begin(); data != holder.end(); ++data) { in FinishAllRemainingAllocations()
1302 bool Redefiner::CheckAllClassesAreVerified(RedefinitionDataHolder& holder) { in CheckAllClassesAreVerified() argument
1303 for (RedefinitionDataIter data = holder.begin(); data != holder.end(); ++data) { in CheckAllClassesAreVerified()
1334 RedefinitionDataHolder holder(&hs, runtime_, self_, &redefinitions_); in Run() local
[all …]
/art/runtime/gc/collector/
Dconcurrent_copying-inl.h103 mirror::Object* holder, in Mark() argument
137 to_ref = Copy(from_ref, holder, offset); in Mark()
149 LOG(FATAL_WITHOUT_ABORT) << DumpHeapReference(holder, offset, from_ref); in Mark()
151 heap_->GetVerification()->LogHeapCorruption(holder, offset, from_ref, /* fatal */ true); in Mark()
158 return MarkNonMoving(from_ref, holder, offset); in Mark()
Dconcurrent_copying.h116 mirror::Object* holder = nullptr,
150 mirror::Object* holder,
257 mirror::Object* holder = nullptr,
Dmark_sweep.h213 void MarkObject(mirror::Object* obj, mirror::Object* holder, MemberOffset offset)
238 mirror::Object* holder = nullptr,
Dmark_sweep.cc428 mirror::Object* holder = nullptr, in MarkObjectSlowPath() argument
431 holder_(holder), in MarkObjectSlowPath()
496 mirror::Object* holder, in MarkObjectNonNull() argument
519 MarkObjectSlowPath visitor(this, holder, offset); in MarkObjectNonNull()
565 mirror::Object* holder, in MarkObject() argument
568 MarkObjectNonNull(obj, holder, offset); in MarkObject()
Dconcurrent_copying.cc502 ObjPtr<mirror::Object> holder, in CheckReference() argument
511 << mirror::Object::PrettyTypeOf(ref) << " in holder " << holder << " " in CheckReference()
512 << mirror::Object::PrettyTypeOf(holder) << " offset=" << offset.Uint32Value(); in CheckReference()
544 VerifyNoMissingCardMarkVisitor(ConcurrentCopying* cc, ObjPtr<mirror::Object> holder) in VerifyNoMissingCardMarkVisitor() argument
546 holder_(holder) {} in VerifyNoMissingCardMarkVisitor()
1155 mirror::Object* holder = nullptr) const in operator ()() argument
1161 collector_->AssertToSpaceInvariant(holder, offset, ref); in operator ()()
2339 mirror::Object* holder, in Copy() argument
2346 heap_->GetVerification()->LogHeapCorruption(holder, offset, from_ref, /* fatal */ true); in Copy()
2574 mirror::Object* holder, in MarkNonMoving() argument
[all …]
/art/runtime/gc/
Dverification.cc84 void Verification::LogHeapCorruption(ObjPtr<mirror::Object> holder, in LogHeapCorruption() argument
97 oss << DumpObjectInfo(holder.Ptr(), "holder"); in LogHeapCorruption()
98 if (holder != nullptr) { in LogHeapCorruption()
99 mirror::Class* holder_klass = holder->GetClass<kVerifyNone, kWithoutReadBarrier>(); in LogHeapCorruption()
102 ArtField* field = holder->FindFieldByOffset(offset); in LogHeapCorruption()
107 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/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.cc620 for (gc::AbstractSystemWeakHolder* holder : system_weak_holders_) { in SweepSystemWeaks()
621 holder->Sweep(visitor); in SweepSystemWeaks()
2133 for (gc::AbstractSystemWeakHolder* holder : system_weak_holders_) { in DisallowNewSystemWeaks()
2134 holder->Disallow(); in DisallowNewSystemWeaks()
2149 for (gc::AbstractSystemWeakHolder* holder : system_weak_holders_) { in AllowNewSystemWeaks()
2150 holder->Allow(); in AllowNewSystemWeaks()
2167 for (gc::AbstractSystemWeakHolder* holder : system_weak_holders_) { in BroadcastForNewSystemWeaks()
2168 holder->Broadcast(broadcast_for_checkpoint); in BroadcastForNewSystemWeaks()
2562 void Runtime::AddSystemWeakHolder(gc::AbstractSystemWeakHolder* holder) { in AddSystemWeakHolder() argument
2568 system_weak_holders_.push_back(holder); in AddSystemWeakHolder()
[all …]
Druntime.h729 void AddSystemWeakHolder(gc::AbstractSystemWeakHolder* holder);
730 void RemoveSystemWeakHolder(gc::AbstractSystemWeakHolder* holder);
/art/compiler/optimizing/
Dnodes.h1856 HInstruction* holder) in HEnvironment() argument
1862 holder_(holder) { in HEnvironment()
1867 HInstruction* holder) in HEnvironment() argument
1872 holder) {} in HEnvironment()