Home
last modified time | relevance | path

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

/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/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/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/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/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/runtime/
Dfault_handler.h84 virtual bool Action(int sig, siginfo_t* siginfo, void* context) = 0;
97 bool Action(int sig, siginfo_t* siginfo, void* context) override;
115 bool Action(int sig, siginfo_t* siginfo, void* context) override;
125 bool Action(int sig, siginfo_t* siginfo, void* context) override;
135 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()
375 bool JavaStackTraceHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* siginfo, void* context) { in Action() function in art::JavaStackTraceHandler
Druntime.h710 template<typename Action>
711 static void DoAndMaybeSwitchInterpreter(Action lamda);
/art/runtime/arch/mips64/
Dfault_handler_mips64.cc73 bool NullPointerHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() function in art::NullPointerHandler
98 bool SuspensionHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, in Action() function in art::SuspensionHandler
116 bool StackOverflowHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() function in art::StackOverflowHandler
/art/runtime/arch/mips/
Dfault_handler_mips.cc72 bool NullPointerHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() function in art::NullPointerHandler
96 bool SuspensionHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, in Action() function in art::SuspensionHandler
114 bool StackOverflowHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() function in art::StackOverflowHandler
/art/runtime/arch/arm64/
Dfault_handler_arm64.cc72 bool NullPointerHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() function in art::NullPointerHandler
101 bool SuspensionHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, in Action() function in art::SuspensionHandler
153 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.cc91 bool NullPointerHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info, void* context) { in Action() function in art::NullPointerHandler
127 bool SuspensionHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* info ATTRIBUTE_UNUSED, in Action() function in art::SuspensionHandler
198 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.cc324 bool NullPointerHandler::Action(int, siginfo_t* sig, void* context) { in Action() function in art::NullPointerHandler
369 bool SuspensionHandler::Action(int, siginfo_t*, void* context) { in Action() function in art::SuspensionHandler
439 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.cc89 bool Action(int sig, siginfo_t* siginfo, void* context ATTRIBUTE_UNUSED) override { in Action() function in openjdkjvmti::TransformationFaultHandler