Improve catching errors in DefaultServerMonitor

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: SDAM
    • None
    • None
    • Java Drivers
    • None
    • None
    • None
    • None
    • None
    • None

      From:mongodb/mongo-java-driver#176

      Please allow me to contribute this bugfix. The problem with Throwable in this line is that
      it catches errors (OutOfMemoryError in particular) and doesn't let JVM crash leaving it
      in zombie state - unable to recover, unable to exit.

            Assignee:
            Unassigned
            Reporter:
            Ross Lawley
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: