/** * There was an internal error in the deadlock detection code. Shut the entire * thing down to prevent further errors. Recovery is too complex as it * requires freezing all threads and inferring the present lock state. */ private void handleInternalError(Throwable t) { try { handleException(t); } catch (Exception e) { //ignore failure to log } //discard the deadlock detector for good locks = null; }
/** * There was an internal error in the deadlock detection code. Shut the entire * thing down to prevent further errors. Recovery is too complex as it * requires freezing all threads and inferring the present lock state. */ private void handleInternalError(Throwable t) { try { handleException(t); } catch (Exception e) { //ignore failure to log } //discard the deadlock detector for good locks = null; }
public void aboutToRelease() { if (lockListener == null) return; try { lockListener.aboutToRelease(); } catch (Exception e) { handleException(e); } catch (LinkageError e) { handleException(e); } }
public boolean aboutToWait(Thread lockOwner) { if (lockListener == null) return false; try { return lockListener.aboutToWait(lockOwner); } catch (Exception e) { handleException(e); } catch (LinkageError e) { handleException(e); } return false; }
public void aboutToRelease() { if (lockListener == null) return; try { lockListener.aboutToRelease(); } catch (Exception e) { handleException(e); } catch (LinkageError e) { handleException(e); } }
public boolean canBlock() { if (lockListener == null) return true; try { return lockListener.canBlock(); } catch (Exception e) { handleException(e); } catch (LinkageError e) { handleException(e); } return false; }
public boolean aboutToWait(Thread lockOwner) { if (lockListener == null) return false; try { return lockListener.aboutToWait(lockOwner); } catch (Exception e) { handleException(e); } catch (LinkageError e) { handleException(e); } return false; }
public void aboutToRelease() { if (lockListener == null) return; try { lockListener.aboutToRelease(); } catch (Exception e) { handleException(e); } catch (LinkageError e) { handleException(e); } }
public boolean canBlock() { if (lockListener == null) return true; try { return lockListener.canBlock(); } catch (Exception e) { handleException(e); } catch (LinkageError e) { handleException(e); } return false; }
public boolean aboutToWait(Thread lockOwner) { if (lockListener == null) return false; try { return lockListener.aboutToWait(lockOwner); } catch (Exception e) { handleException(e); } catch (LinkageError e) { handleException(e); } return false; }
public boolean canBlock() { if (lockListener == null) return true; try { return lockListener.canBlock(); } catch (Exception e) { handleException(e); } catch (LinkageError e) { handleException(e); } return false; }
public void aboutToRelease() { if (lockListener == null) return; try { lockListener.aboutToRelease(); } catch (Exception e) { handleException(e); } catch (LinkageError e) { handleException(e); } }
public boolean aboutToWait(Thread lockOwner) { if (lockListener == null) return false; try { return lockListener.aboutToWait(lockOwner); } catch (Exception e) { handleException(e); } catch (LinkageError e) { handleException(e); } return false; }
/** * There was an internal error in the deadlock detection code. Shut the entire * thing down to prevent further errors. Recovery is too complex as it * requires freezing all threads and inferring the present lock state. */ private void handleInternalError(Throwable t) { try { handleException(t); handleException(new Exception(locks.toDebugString())); } catch (Exception e2) { //ignore failure to log or to create the debug string } //discard the deadlock detector for good locks = null; }
/** * There was an internal error in the deadlock detection code. Shut the entire * thing down to prevent further errors. Recovery is too complex as it * requires freezing all threads and inferring the present lock state. */ private void handleInternalError(Throwable t) { try { handleException(t); handleException(new Exception(locks.toDebugString())); } catch (Exception e2) { //ignore failure to log or to create the debug string } //discard the deadlock detector for good locks = null; }