hotspot/src/share/vm/runtime/synchronizer.cpp
changeset 15853 1c4e16950e96
parent 15475 73896d91270c
child 16670 4af09aff4237
equal deleted inserted replaced
15851:f8d172011be7 15853:1c4e16950e96
   811     assert(monitor != NULL, "monitor should be non-null");
   811     assert(monitor != NULL, "monitor should be non-null");
   812     owner = (address) monitor->owner();
   812     owner = (address) monitor->owner();
   813   }
   813   }
   814 
   814 
   815   if (owner != NULL) {
   815   if (owner != NULL) {
       
   816     // owning_thread_from_monitor_owner() may also return NULL here
   816     return Threads::owning_thread_from_monitor_owner(owner, doLock);
   817     return Threads::owning_thread_from_monitor_owner(owner, doLock);
   817   }
   818   }
   818 
   819 
   819   // Unlocked case, header in place
   820   // Unlocked case, header in place
   820   // Cannot have assertion since this object may have been
   821   // Cannot have assertion since this object may have been