summaryrefslogtreecommitdiff
path: root/graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorVasu Nori <vnori@google.com>2011-02-03 16:24:06 -0800
committerVasu Nori <vnori@google.com>2011-02-07 11:08:41 -0800
commitd4608a35e89c2604194b314ff9babb07ba8a14e1 (patch)
tree79465c824f323cb78f94f931c37b9d08e2b6ce2c /graphics/java/android/renderscript/ProgramFragmentFixedFunction.java
parentb3c4efc22dec106c8c888e9a74edcb71b8702daa (diff)
while waiting for lock, try in 30sec intervals and print warnings if no lock
should help a little bit in debugging deadlocks in the process. especially when the an application does this: thread1: begin transaction thread2: synchronized void blahMethod { do some code; begintransaction;} thread1: with lock ion the database, it now tries to get into the above synchronized method thread2 has synchronized monitor and thred1 has db lock. each wants the other lock deadlock. and our stacktraces will not tell us that thread1 has the database lock. with this CL, we will know WHO owns the database lock and which thread dies waiting for the lock. Change-Id: If51578e7fa0a70ee3d762eb2233d1fddd98a2e86
Diffstat (limited to 'graphics/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions