src/share/vm/oops/markOop.cpp

changeset 9327
f96fcd9e1e1b
parent 7605
6e8e0bf87bbe
child 9448
73d689add964
equal deleted inserted replaced
9324:efdbe9b904ad 9327:f96fcd9e1e1b
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 }

mercurial