. Default UseThreadPriorities to false on BSD. This can be toggled by
. Remove the os_sleep hack which was used on FreeBSD to make sure lower
priority threads got time slices. Instead, just call pthread_yield().
On FreeBSD 7.x with libthr, this will still give lower priority threads
some time (with the above flag turned on), although such behaviour is
not guaranteed by POSIX. This boosts FreeBSD performance by 7-fold on
an 8 core system, putting it on a par with Solaris (benchmarks by kris@).
The Java standard and the JCK tests are somewhat contradictory on thread
priority being guaranteed to work, and in this case the performance
benefits appear to outweigh any possible side effects.
. Pick up DEFAULT_LD_LIBRARY_PATH from the build environment rather than
patching it into a file at build time. This simplifies the Makefile.
Submitted by: Kurt Miller <firstname.lastname@example.org>