Lines Matching defs:cause

1271     // Deflate the monitors, this can cause a pause but shouldn't matter since we don't care
1319 void Heap::StartGC(Thread* self, GcCause cause, CollectorType collector_type) {
1325 WaitForGcToCompleteLocked(cause, self);
1327 last_gc_cause_ = cause;
1652 // TODO: Run finalization, but this may cause more allocations to occur.
1699 // Always print that we ran homogeneous space compation since this can cause jank.
1877 void Heap::CollectGarbage(bool clear_soft_references, GcCause cause) {
1880 CollectGarbageInternal(gc_plan_.back(), cause, clear_soft_references);
1918 // cause objects to get finalized.
2008 // cause objects to get finalized.
2284 // We still want to GC in case there is some unreachable non moving objects that could cause a
2608 // calculated in the same thread so that there aren't any races that can cause it to become
3345 collector::GcType Heap::WaitForGcToComplete(GcCause cause, Thread* self) {
3348 return WaitForGcToCompleteLocked(cause, self);
3351 collector::GcType Heap::WaitForGcToCompleteLocked(GcCause cause, Thread* self) {
3362 VLOG(gc) << "Waiting for a blocking GC " << cause;
3373 LOG(INFO) << "WaitForGcToComplete blocked " << cause << " on " << last_gc_cause << " for "
3383 if (cause == kGcCauseForAlloc ||
3384 cause == kGcCauseForNativeAlloc ||
3385 cause == kGcCauseDisableMovingGc) {
3386 VLOG(gc) << "Starting a blocking GC " << cause;
3578 ConcurrentGCTask(uint64_t target_time, GcCause cause, bool force_full)
3579 : HeapTask(target_time), cause_(cause), force_full_(force_full) {}
3601 void Heap::RequestConcurrentGC(Thread* self, GcCause cause, bool force_full) {
3605 cause,
3610 void Heap::ConcurrentGC(Thread* self, GcCause cause, bool force_full) {
3613 if (WaitForGcToComplete(cause, self) == collector::kGcTypeNone) {
3621 if (CollectGarbageInternal(next_gc_type, cause, false) == collector::kGcTypeNone) {
3625 CollectGarbageInternal(gc_type, cause, false) != collector::kGcTypeNone) {
3697 // kernel) or not. Issuing a request will also cause trimming of the libc heap. As a trim scans
3698 // a space it will hold its lock and can become a cause of jank.