Quote Originally Posted by vnktummala View Post
... other DBA in my team had the problem with compiling a procedure and he said he found some other session locking one of the referencing tables and when he killed that session he is able to compile. He is not clear what type of lock it is. As PAVB said it might be library cache lock.
this only makes sense if offending session was executing the very same procedure your fellow DBA was attempting to compile. It wasn't a table lock, it was library cache lock.