diff options
author | Wesley Wolfe <weswolf@aol.com> | 2012-09-09 00:34:41 -0500 |
---|---|---|
committer | Wesley Wolfe <weswolf@aol.com> | 2012-09-09 00:34:41 -0500 |
commit | 27d58a299c38613b9aeed403c35166c31f2d6025 (patch) | |
tree | 12f9a2a42e270a8e6518145b9ea681efd8cc0446 /src/main/java/net/minecraft/server/PathfinderGoalSelector.java | |
parent | 4d5894e4cb29bfa4f9bb07edfb85f57363a8866e (diff) | |
download | craftbukkit-27d58a299c38613b9aeed403c35166c31f2d6025.tar craftbukkit-27d58a299c38613b9aeed403c35166c31f2d6025.tar.gz craftbukkit-27d58a299c38613b9aeed403c35166c31f2d6025.tar.lz craftbukkit-27d58a299c38613b9aeed403c35166c31f2d6025.tar.xz craftbukkit-27d58a299c38613b9aeed403c35166c31f2d6025.zip |
Add information about async tasks to CrashReports. Addresses BUKKIT-2491
Async tasks are notorious for causing CMEs and corrupted data when
accessing the API. This change makes a linked list to track recent tasks
that may no longer be running. It is accessed via the toString method on
the scheduler. This behavior is not guaranteed, but it is accessible as
such currently.
Although toString is located in the scheduler, its contract does not
guarantee an accurate or up to date call when accessed from a second
thread.
Diffstat (limited to 'src/main/java/net/minecraft/server/PathfinderGoalSelector.java')
0 files changed, 0 insertions, 0 deletions