47 ObjectMonitor* mon = monitor(); |
47 ObjectMonitor* mon = monitor(); |
48 if (mon == NULL) |
48 if (mon == NULL) |
49 st->print("monitor=NULL"); |
49 st->print("monitor=NULL"); |
50 else { |
50 else { |
51 BasicLock * bl = (BasicLock *) mon->owner(); |
51 BasicLock * bl = (BasicLock *) mon->owner(); |
52 st->print("monitor={count="INTPTR_FORMAT",waiters="INTPTR_FORMAT",recursions="INTPTR_FORMAT",owner="INTPTR_FORMAT"}", |
52 st->print("monitor={count=" INTPTR_FORMAT ",waiters=" INTPTR_FORMAT ",recursions=" INTPTR_FORMAT ",owner=" INTPTR_FORMAT "}", |
53 mon->count(), mon->waiters(), mon->recursions(), p2i(bl)); |
53 mon->count(), mon->waiters(), mon->recursions(), p2i(bl)); |
54 } |
54 } |
55 } else { |
55 } else { |
56 st->print("??"); |
56 st->print("??"); |
57 } |
57 } |