Home
last modified time | relevance | path

Searched refs:paused (Results 1 – 7 of 7) sorted by relevance

/art/test/1920-suspend-native-monitor/
Dnative_suspend_monitor.cc34 std::atomic<bool> paused(false);
46 paused.store(true); in Java_art_Test1920_nativeSpin()
48 paused.store(false); in Java_art_Test1920_nativeSpin()
65 paused.store(false); in Java_art_Test1920_pause()
66 while (!paused.load()) { } in Java_art_Test1920_pause()
70 while (paused.load()) { } in Java_art_Test1920_resume()
/art/test/1921-suspend-native-recursive-monitor/
Dnative_suspend_recursive_monitor.cc34 std::atomic<bool> paused(false);
49 paused.store(true); in Java_art_Test1921_nativeSpin()
51 paused.store(false); in Java_art_Test1921_nativeSpin()
71 paused.store(false); in Java_art_Test1921_pause()
72 while (!paused.load()) { } in Java_art_Test1921_pause()
77 while (paused.load()) { } in Java_art_Test1921_resume()
/art/test/1942-suspend-raw-monitor-exit/
Dnative_suspend_monitor.cc35 std::atomic<bool> paused(false);
49 paused.store(true); in Java_art_Test1942_nativeRun()
51 paused.store(false); in Java_art_Test1942_nativeRun()
63 while (!paused.load()) { } in Java_art_Test1942_waitForPause()
67 while (paused.load()) { } in Java_art_Test1942_resume()
/art/runtime/gc/collector/
Dmark_sweep.h121 void RecursiveMarkDirtyObjects(bool paused, uint8_t minimum_age)
268 size_t GetThreadCount(bool paused) const;
276 void ScanGrayObjects(bool paused, uint8_t minimum_age)
289 void ProcessMarkStack(bool paused)
Dmark_sweep.cc871 size_t MarkSweep::GetThreadCount(bool paused) const { in GetThreadCount()
877 return (paused ? heap_->GetParallelGCThreadCount() : heap_->GetConcGCThreadCount()) + 1; in GetThreadCount()
880 void MarkSweep::ScanGrayObjects(bool paused, uint8_t minimum_age) { in ScanGrayObjects() argument
883 size_t thread_count = GetThreadCount(paused); in ScanGrayObjects()
889 TimingLogger::ScopedTiming t(paused ? "(Paused)ScanGrayObjects" : __FUNCTION__, in ScanGrayObjects()
920 bool clear_card = paused && !space->IsZygoteSpace() && !space->IsImageSpace(); in ScanGrayObjects()
961 name = paused ? "(Paused)ScanGrayImageSpaceObjects" : "ScanGrayImageSpaceObjects"; in ScanGrayObjects()
964 name = paused ? "(Paused)ScanGrayZygoteSpaceObjects" : "ScanGrayZygoteSpaceObjects"; in ScanGrayObjects()
967 name = paused ? "(Paused)ScanGrayAllocSpaceObjects" : "ScanGrayAllocSpaceObjects"; in ScanGrayObjects()
975 bool clear_card = paused && !space->IsZygoteSpace() && !space->IsImageSpace(); in ScanGrayObjects()
[all …]
Dmark_compact.h256 void SweepSystemWeaks(Thread* self, Runtime* runtime, const bool paused)
399 void ScanDirtyObjects(bool paused, uint8_t minimum_age) REQUIRES_SHARED(Locks::mutator_lock_)
403 void RecursiveMarkDirtyObjects(bool paused, uint8_t minimum_age)
Dmark_compact.cc1298 void MarkCompact::SweepSystemWeaks(Thread* self, Runtime* runtime, const bool paused) { in SweepSystemWeaks() argument
1299 TimingLogger::ScopedTiming t(paused ? "(Paused)SweepSystemWeaks" : "SweepSystemWeaks", in SweepSystemWeaks()
3832 void MarkCompact::ScanDirtyObjects(bool paused, uint8_t minimum_age) { in ScanDirtyObjects() argument
3838 name = paused ? "(Paused)ScanGrayImmuneSpaceObjects" : "ScanGrayImmuneSpaceObjects"; in ScanDirtyObjects()
3841 name = paused ? "(Paused)ScanGrayZygoteSpaceObjects" : "ScanGrayZygoteSpaceObjects"; in ScanDirtyObjects()
3844 name = paused ? "(Paused)ScanGrayAllocSpaceObjects" : "ScanGrayAllocSpaceObjects"; in ScanDirtyObjects()
3853 if (paused) { in ScanDirtyObjects()
3906 void MarkCompact::RecursiveMarkDirtyObjects(bool paused, uint8_t minimum_age) { in RecursiveMarkDirtyObjects() argument
3907 ScanDirtyObjects(paused, minimum_age); in RecursiveMarkDirtyObjects()