/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/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/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/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/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/runtime/ |
D | fault_handler.h | 84 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;
|
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() 375 bool JavaStackTraceHandler::Action(int sig ATTRIBUTE_UNUSED, siginfo_t* siginfo, void* context) { in Action() function in art::JavaStackTraceHandler
|
D | runtime.h | 710 template<typename Action> 711 static void DoAndMaybeSwitchInterpreter(Action lamda);
|
/art/runtime/arch/mips64/ |
D | fault_handler_mips64.cc | 73 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/ |
D | fault_handler_mips.cc | 72 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/ |
D | fault_handler_arm64.cc | 72 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/ |
D | fault_handler_arm.cc | 91 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/ |
D | fault_handler_x86.cc | 324 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/ |
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 | 89 bool Action(int sig, siginfo_t* siginfo, void* context ATTRIBUTE_UNUSED) override { in Action() function in openjdkjvmti::TransformationFaultHandler
|