Very vague but I seem to remember if an interrupt have occurred (and it should 
have since this is suspend lock) while holding local lock, status should be 
saved in area pointed to buy ASSBIHSA of holder address space.


-----Original Message-----
From: David Cole <[email protected]>
To: IBM-MAIN <[email protected]>
Sent: Thu, Mar 6, 2014 5:09 pm
Subject: Where is status saved for LOCAL LOCK'd code?


I have a question. Recently, I was using z/XDC to watch the flow of 
execution of some task in a different aspace. At one point, that code 
acquired the Local Lock and then fell into a closed, tight execution 
loop ("B *" actually - I guess that's as tight as it gets.)

But watching this thing from another aspace, I could not tell where 
the execution loop was!

Normally, I would look at the resume PSW from the newest RB/XSB on 
the running TCB, but in this case the LLOCK was held, so the RB 
information was ancient history.

So my question is, when the LOCAL LOCK is held and a the aspace that 
holds it is spinning, and I'm looking in from the outside, where do I 
look to to find that aspace's current PSW and registers?


(Eventually, we took a dump and looked in the System Trace and found 
the loop from recorded interrupt addresses, but I'd like to be able 
to figure this out live... without having to resort to a dump.)

TIA,
Dave Cole

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to