Lines Matching refs:mutator
5 mutator Java threads. But in certain places, for example while tracing from
12 Logically, the collector and mutator share a reader-writer lock on the Java
26 mutator lock in shared mode, it is expected to regularly execute such a suspend
33 logically releases the mutator lock. When the garbage collector needs mutator
34 cooperation, and the thread is not runnable, it is assured that the mutator is
36 action itself, on the mutator thread's behalf.
66 the "suspended" state given as an argument, logically releasing the mutator lock
72 released the mutator exclusive lock, and then returns to runnable state,
73 re-acquiring the mutator lock.
83 The mutator lock is not implemented as a conventional mutex. But it plays by the
94 the mutator mutex, e.g. as part of `ScopedObjectAccess` construction.
98 must, in addition, explicitly arrange for mutator threads to be suspended via the
101 Logically the mutator lock is held in shared/reader mode if ***either*** the
102 underlying reader-writer lock is held in shared mode, ***or*** if a mutator is in
103 runnable state. These two ways of holding the mutator mutex are ***not***
106 the explicit mutator mutex in shared mode, thus blocking others from acquiring it
112 Suspend point checks enable three kinds of communication with mutator threads:
151 The mutator lock participates in the normal ART lock ordering hierarchy, as though it
154 acquiring the mutator lock, e.g. inside the scope of a `ScopedObjectAccess`.
156 acquiring the mutator lock, e.g. either by starting a `ScopedObjectAccess`, or
162 suspend another thread must also be treated as an acquisition of the mutator
164 is itself holding the mutator lock, and can only be blocked on lower-level
165 locks. And acquisition of those can never depend on acquiring the mutator
172 checkpoint code is run from `CheckSuspend`, which requires the mutator lock,
186 Waiting for something that may depend on the GC, while holding the mutator lock,
208 a low-level mutex M. Thread W2 holds the mutator lock and waits on M. We avoid a