* The TransactionStatus is locked for the entire duration of the
* running transaction. The following call should always succeed
* immediately; a TimeoutException here signifies a software failure
* or a thread terminated by {@link Thread#stop()} somewhere else.
*/
if (!status.wwLock(VERY_LONG_TIMEOUT)) {
throw new IllegalStateException("wwLock was unavailable on newly allocated TransactionStatus");
}
/*
* General hygiene - call reduce if the current count is bigger than
* the threshold - but this is merely an optimization and the test