Home
last modified time | relevance | path

Searched refs:Action (Results 1 – 15 of 15) sorted by relevance

/art/test/1930-monitor-info/src/art/
DMonitors.java120 private static enum Action { HOLD, RELEASE, NOTIFY, NOTIFY_ALL, WAIT, TIMED_WAIT } enum in Monitors.LockController
124 private final AtomicStampedReference<Action> action;
137 this.action = new AtomicStampedReference(Action.HOLD, 0); in LockController()
156 private void setAction(Action a) { in setAction()
159 while (!action.compareAndSet(Action.HOLD, a, stamp, stamp + 1)) { in setAction()
193 Action cur_action = Action.HOLD; in DoLock()
198 if (cur_action == Action.RELEASE) { in DoLock()
224 action.compareAndSet(cur_action, Action.HOLD, stamp, stamp+1); in DoLock()
274 setAction(Action.NOTIFY); in DoNotify()
281 setAction(Action.NOTIFY_ALL); in DoNotifyAll()
[all …]
/art/test/1931-monitor-events/src/art/
DMonitors.java120 private static enum Action { HOLD, RELEASE, NOTIFY, NOTIFY_ALL, WAIT, TIMED_WAIT } enum in Monitors.LockController
124 private final AtomicStampedReference<Action> action;
137 this.action = new AtomicStampedReference(Action.HOLD, 0); in LockController()
156 private void setAction(Action a) { in setAction()
159 while (!action.compareAndSet(Action.HOLD, a, stamp, stamp + 1)) { in setAction()
193 Action cur_action = Action.HOLD; in DoLock()
198 if (cur_action == Action.RELEASE) { in DoLock()
224 action.compareAndSet(cur_action, Action.HOLD, stamp, stamp+1); in DoLock()
274 setAction(Action.NOTIFY); in DoNotify()
281 setAction(Action.NOTIFY_ALL); in DoNotifyAll()
[all …]
/art/test/1933-monitor-current-contended/src/art/
DMonitors.java120 private static enum Action { HOLD, RELEASE, NOTIFY, NOTIFY_ALL, WAIT, TIMED_WAIT } enum in Monitors.LockController
124 private final AtomicStampedReference<Action> action;
137 this.action = new AtomicStampedReference(Action.HOLD, 0); in LockController()
156 private void setAction(Action a) { in setAction()
159 while (!action.compareAndSet(Action.HOLD, a, stamp, stamp + 1)) { in setAction()
193 Action cur_action = Action.HOLD; in DoLock()
198 if (cur_action == Action.RELEASE) { in DoLock()
224 action.compareAndSet(cur_action, Action.HOLD, stamp, stamp+1); in DoLock()
274 setAction(Action.NOTIFY); in DoNotify()
281 setAction(Action.NOTIFY_ALL); in DoNotifyAll()
[all …]
/art/test/1934-jvmti-signal-thread/src/art/
DMonitors.java120 private static enum Action { HOLD, RELEASE, NOTIFY, NOTIFY_ALL, WAIT, TIMED_WAIT } enum in Monitors.LockController
124 private final AtomicStampedReference<Action> action;
137 this.action = new AtomicStampedReference(Action.HOLD, 0); in LockController()
156 private void setAction(Action a) { in setAction()
159 while (!action.compareAndSet(Action.HOLD, a, stamp, stamp + 1)) { in setAction()
193 Action cur_action = Action.HOLD; in DoLock()
198 if (cur_action == Action.RELEASE) { in DoLock()
224 action.compareAndSet(cur_action, Action.HOLD, stamp, stamp+1); in DoLock()
274 setAction(Action.NOTIFY); in DoNotify()
281 setAction(Action.NOTIFY_ALL); in DoNotifyAll()
[all …]
/art/test/1932-monitor-events-misc/src/art/
DMonitors.java120 private static enum Action { HOLD, RELEASE, NOTIFY, NOTIFY_ALL, WAIT, TIMED_WAIT } enum in Monitors.LockController
124 private final AtomicStampedReference<Action> action;
137 this.action = new AtomicStampedReference(Action.HOLD, 0); in LockController()
156 private void setAction(Action a) { in setAction()
159 while (!action.compareAndSet(Action.HOLD, a, stamp, stamp + 1)) { in setAction()
193 Action cur_action = Action.HOLD; in DoLock()
198 if (cur_action == Action.RELEASE) { in DoLock()
224 action.compareAndSet(cur_action, Action.HOLD, stamp, stamp+1); in DoLock()
274 setAction(Action.NOTIFY); in DoNotify()
281 setAction(Action.NOTIFY_ALL); in DoNotifyAll()
[all …]
/art/test/jvmti-common/
DMonitors.java120 private static enum Action { HOLD, RELEASE, NOTIFY, NOTIFY_ALL, WAIT, TIMED_WAIT } enum in Monitors.LockController
124 private final AtomicStampedReference<Action> action;
137 this.action = new AtomicStampedReference(Action.HOLD, 0); in LockController()
156 private void setAction(Action a) { in setAction()
159 while (!action.compareAndSet(Action.HOLD, a, stamp, stamp + 1)) { in setAction()
193 Action cur_action = Action.HOLD; in DoLock()
198 if (cur_action == Action.RELEASE) { in DoLock()
224 action.compareAndSet(cur_action, Action.HOLD, stamp, stamp+1); in DoLock()
274 setAction(Action.NOTIFY); in DoNotify()
281 setAction(Action.NOTIFY_ALL); in DoNotifyAll()
[all …]
/art/runtime/
Dfault_handler.h88 virtual bool Action(int sig, siginfo_t* siginfo, void* context) = 0;
101 bool Action(int sig, siginfo_t* siginfo, void* context) override;
119 bool Action(int sig, siginfo_t* siginfo, void* context) override;
129 bool Action(int sig, siginfo_t* siginfo, void* context) override;
139 bool Action(int sig, siginfo_t* siginfo, void* context) override NO_THREAD_SAFETY_ANALYSIS;
Druntime-inl.h92 template<typename Action>
93 void Runtime::DoAndMaybeSwitchInterpreter(Action lamda) { in DoAndMaybeSwitchInterpreter()
Dfault_handler.cc181 if (handler->Action(sig, info, context)) { in HandleFaultByOtherHandlers()
223 if (handler->Action(sig, info, context)) { in HandleFault()
384 bool JavaStackTraceHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* siginfo, void* context) { in Action() function in art::JavaStackTraceHandler
Druntime.h776 template<typename Action>
777 static void DoAndMaybeSwitchInterpreter(Action lamda);
/art/runtime/arch/arm64/
Dfault_handler_arm64.cc77 bool NullPointerHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() function in art::NullPointerHandler
106 bool SuspensionHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, in Action() function in art::SuspensionHandler
158 bool StackOverflowHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, in Action() function in art::StackOverflowHandler
/art/runtime/arch/arm/
Dfault_handler_arm.cc96 bool NullPointerHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() function in art::NullPointerHandler
132 bool SuspensionHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, in Action() function in art::SuspensionHandler
203 bool StackOverflowHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, in Action() function in art::StackOverflowHandler
/art/runtime/arch/x86/
Dfault_handler_x86.cc328 bool NullPointerHandler::Action(int, siginfo_t* sig, void* context) { in Action() function in art::NullPointerHandler
373 bool SuspensionHandler::Action(int, siginfo_t*, void* context) { in Action() function in art::SuspensionHandler
443 bool StackOverflowHandler::Action(int, siginfo_t* info, void* context) { in Action() function in art::StackOverflowHandler
/art/test/305-other-fault-handler/
Dfault_handler.cc55 bool Action(int sig, siginfo_t* siginfo, void* context ATTRIBUTE_UNUSED) override { in Action() function in art::TestFaultHandler
/art/openjdkjvmti/
Dtransform.cc92 bool Action(int sig, siginfo_t* siginfo, void* context ATTRIBUTE_UNUSED) override { in Action() function in openjdkjvmti::TransformationFaultHandler