equal
deleted
inserted
replaced
1029 ret.entry_count = count_locked_objects(owning_thread, hobj); |
1029 ret.entry_count = count_locked_objects(owning_thread, hobj); |
1030 } |
1030 } |
1031 // implied else: entry_count == 0 |
1031 // implied else: entry_count == 0 |
1032 } |
1032 } |
1033 |
1033 |
1034 int nWant,nWait; |
1034 jint nWant, nWait; |
1035 if (mon != NULL) { |
1035 if (mon != NULL) { |
1036 // this object has a heavyweight monitor |
1036 // this object has a heavyweight monitor |
1037 nWant = mon->contentions(); // # of threads contending for monitor |
1037 nWant = mon->contentions(); // # of threads contending for monitor |
1038 nWait = mon->waiters(); // # of threads in Object.wait() |
1038 nWait = mon->waiters(); // # of threads in Object.wait() |
1039 ret.waiter_count = nWant + nWait; |
1039 ret.waiter_count = nWant + nWait; |