Home | History | Annotate | Download | only in dex2oat

Lines Matching refs:WatchDog

481 // The primary goal of the watchdog is to prevent stuck build servers
484 class WatchDog {
485 // WatchDog defines its own CHECK_PTHREAD_CALL to avoid using LOG which uses locks
500 explicit WatchDog(int64_t timeout_in_milliseconds)
516 ~WatchDog() {
539 // watchdog (PackageManagerService.WATCHDOG_TIMEOUT, 10 minutes), so that dex2oat will abort
540 // itself before that watchdog would take down the system server.
548 WatchDog* self = reinterpret_cast<WatchDog*>(arg);
563 // TODO: Use a double watchdog timeout, so we can enable this on-device.
565 Runtime::Current()->AttachCurrentThread("Watchdog thread attached for dumping",
947 // Done with usage checks, enable watchdog if requested
951 : WatchDog::kDefaultWatchdogTimeoutInMS;
952 watchdog_.reset(new WatchDog(timeout));
1208 AssignIfExists(args, M::Watchdog, &parser_options->watch_dog_enabled);
2882 std::unique_ptr<WatchDog> watchdog_;