Lines Matching full:runtime
16 #include "runtime/monitor.h"
19 #include "runtime/include/object_header.h"
20 #include "runtime/include/runtime.h"
21 #include "runtime/include/runtime_notification.h"
22 #include "runtime/include/thread_scopes.h"
23 #include "runtime/include/panda_vm.h"
24 #include "runtime/mark_word.h"
25 #include "runtime/monitor_pool.h"
26 #include "runtime/handle_base-inl.h"
127 …LOG(DEBUG, RUNTIME) << "Try to enter monitor " << std::hex << obj << " with state " << std::dec <… in MonitorEnter()
151 … LOG(DEBUG, RUNTIME) << "The lightweight monitor was successfully recursively acquired"; in MonitorEnter()
257 … LOG(DEBUG, RUNTIME) << "The lightweight monitor was successfully acquired for the first time"; in MonitorEnter()
269 LOG(FATAL, RUNTIME) << "Not yet implemented"; in MonitorEnter()
272 LOG(FATAL, RUNTIME) << "Undefined object state"; in MonitorEnter()
288 …LOG(DEBUG, RUNTIME) << "Try to exit monitor " << std::hex << obj << " with state " << std::dec <<… in MonitorExit()
300 … LOG(DEBUG, RUNTIME) << "Calling MonitorEnter on object which isn't owned by this thread"; in MonitorExit()
311 LOG(DEBUG, RUNTIME) << "Exited lightweight lock"; in MonitorExit()
321 LOG(ERROR, RUNTIME) << "Try to perform monitor exit from unlocked state"; in MonitorExit()
324 LOG(FATAL, RUNTIME) << "Not yet implemented"; in MonitorExit()
327 LOG(FATAL, RUNTIME) << "Undefined object state"; in MonitorExit()
348 Runtime::GetCurrent()->GetNotificationManager()->MonitorWaitEvent(obj, timeout); in Wait()
353 LOG(DEBUG, RUNTIME) << "Try to wait with state " << state; in Wait()
361 … LOG(ERROR, RUNTIME) << "Illegal monitor state: try to wait with monitor acquired by other thread"; in Wait()
419 …Runtime::GetCurrent()->GetNotificationManager()->MonitorWaitedEvent(obj_handle.GetPtr(), is_timeou… in Wait()
425 … LOG(FATAL, RUNTIME) << "Illegal monitor state: try to wait with monitor acquired by other thread"; in Wait()
434 LOG(ERROR, RUNTIME) << "Try to perform Wait from unsupported state"; in Wait()
437 LOG(FATAL, RUNTIME) << "Undefined object state"; in Wait()
448 LOG(DEBUG, RUNTIME) << "Try to notify with state " << state; in Notify()
457 …LOG(ERROR, RUNTIME) << "Illegal monitor state: try to notify with monitor acquired by other thread… in Notify()
476 …LOG(ERROR, RUNTIME) << "Illegal monitor state: try to notify with monitor acquired by other thread… in Notify()
483 LOG(ERROR, RUNTIME) << "Try to perform Notify from unsupported state"; in Notify()
486 LOG(FATAL, RUNTIME) << "Undefined object state"; in Notify()
496 LOG(DEBUG, RUNTIME) << "Try to notify all with state " << state; in NotifyAll()
505 …LOG(ERROR, RUNTIME) << "Illegal monitor state: try to notify with monitor acquired by other thread… in NotifyAll()
525 …LOG(ERROR, RUNTIME) << "Illegal monitor state: try to notify with monitor acquired by other thread… in NotifyAll()
532 LOG(ERROR, RUNTIME) << "Try to perform NotifyAll from unsupported state"; in NotifyAll()
535 LOG(FATAL, RUNTIME) << "Undefined object state"; in NotifyAll()
546 LOG(DEBUG, RUNTIME) << "The fat monitor was successfully recursively acquired"; in Acquire()
562 Runtime::GetCurrent()->GetNotificationManager()->MonitorContendedEnterEvent(obj); in Acquire()
570 // Do this inside scope for thread to release this monitor during runtime destroy in Acquire()
572 LOG(FATAL, RUNTIME) << "Set monitor owner failed in Acquire"; in Acquire()
579 Runtime::GetCurrent()->GetNotificationManager()->MonitorContendedEnteredEvent(obj); in Acquire()
580 LOG(DEBUG, RUNTIME) << "The fat monitor was successfully acquired for the first time"; in Acquire()
587 LOG(FATAL, RUNTIME) << "Set monitor owner failed in Acquire"; in Acquire()
591 LOG(DEBUG, RUNTIME) << "The fat monitor was successfully acquired for the first time"; in Acquire()
610 LOG(FATAL, RUNTIME) << "Set monitor owner failed in InitWithOwner"; in Acquire()
613 LOG(DEBUG, RUNTIME) << "The fat monitor was successfully initialized for the first time"; in Acquire()
620 LOG(FATAL, RUNTIME) << "Releasing lock which isn't owned by this thread"; in Acquire()
635 LOG(DEBUG, RUNTIME) << "The fat monitor was successfully released after failed inflation"; in Acquire()
641 LOG(FATAL, RUNTIME) << "Releasing lock which isn't owned by this thread"; in Acquire()
648 LOG(FATAL, RUNTIME) << "Set monitor owner failed in Release"; in Acquire()
664 LOG(DEBUG, RUNTIME) << "Send the notifing signal to " << waiter->GetId(); in Acquire()
668 LOG(DEBUG, RUNTIME) << "The fat monitor was successfully released"; in Acquire()
696 LOG(FATAL, RUNTIME) << "Couldn't create new monitor. Out of memory?"; in Acquire()
726 LOG(FATAL, RUNTIME) << "Trying to inflate object in GC state"; in Acquire()
729 LOG(FATAL, RUNTIME) << "Undefined object state"; in Acquire()
754 LOG(DEBUG, RUNTIME) << "Trying to deflate non-heavy locked object"; in Acquire()
761 LOG(DEBUG, RUNTIME) << "Monitor was already destroyed by someone else."; in Acquire()
775 LOG(DEBUG, RUNTIME) << "Trying to deflate monitor which already has owner"; in Acquire()
779 …LOG(DEBUG, RUNTIME) << "Trying to deflate monitor which is trying to be acquired by other threads"; in Acquire()
783 LOG(DEBUG, RUNTIME) << "Couldn't TryLock monitor for deflation"; in Acquire()
796 LOG(DEBUG, RUNTIME) << "Deflating monitor to hash"; in Acquire()
799 LOG(DEBUG, RUNTIME) << "Deflating monitor to unlocked"; in Acquire()
833 LOG(FATAL, RUNTIME) << "Undefined object state"; in Acquire()
863 LOG(FATAL, RUNTIME) << "Undefined object state"; in Acquire()
882 LOG(WARNING, RUNTIME) << "obj:" << obj << " not locked by heavy or light locked"; in Acquire()
926 LOG(FATAL, RUNTIME) << "Attempt to rewrite hash in monitor"; in Acquire()