/art/test/1930-monitor-info/src/art/ |
D | Monitors.java | 120 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/ |
D | Monitors.java | 120 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/ |
D | Monitors.java | 120 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/ |
D | Monitors.java | 120 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/ |
D | Monitors.java | 120 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/ |
D | Monitors.java | 120 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/ |
D | fault_handler.h | 88 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;
|
D | runtime-inl.h | 92 template<typename Action> 93 void Runtime::DoAndMaybeSwitchInterpreter(Action lamda) { in DoAndMaybeSwitchInterpreter()
|
D | fault_handler.cc | 181 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
|
D | runtime.h | 776 template<typename Action> 777 static void DoAndMaybeSwitchInterpreter(Action lamda);
|
/art/runtime/arch/arm64/ |
D | fault_handler_arm64.cc | 77 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/ |
D | fault_handler_arm.cc | 96 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/ |
D | fault_handler_x86.cc | 328 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/ |
D | fault_handler.cc | 55 bool Action(int sig, siginfo_t* siginfo, void* context ATTRIBUTE_UNUSED) override { in Action() function in art::TestFaultHandler
|
/art/openjdkjvmti/ |
D | transform.cc | 92 bool Action(int sig, siginfo_t* siginfo, void* context ATTRIBUTE_UNUSED) override { in Action() function in openjdkjvmti::TransformationFaultHandler
|