src/share/vm/runtime/synchronizer.cpp

changeset 4673
5ee250974db9
parent 4535
9fae07c31641
child 4889
cc32ccaaf47f
equal deleted inserted replaced
4671:698b615a1cde 4673:5ee250974db9
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

mercurial