Skip to content

Commit 8a43440

Browse files
Reintroduce getMonitorCount
This is a partial revert of commit 3712b2d which removed getMonitorCount, probably by mistake.
1 parent b857306 commit 8a43440

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/org/cprover/CProver.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,4 +306,12 @@ public static void arraycopyInPlace(byte[] src, int srcPos, byte[] dest,
306306
dest[destPos + i] = src[srcPos + i];
307307
}
308308
}
309+
310+
/**
311+
* Retrieves the current locking count for 'object'.
312+
*/
313+
public static int getMonitorCount(Object object)
314+
{
315+
return object.cproverMonitorCount;
316+
}
309317
}

0 commit comments

Comments
 (0)