cvs commit: ports/java/jdk15 Makefile ports/java/jdk15/files
glewis at FreeBSD.org
Wed Sep 19 20:35:30 PDT 2007
glewis 2007-09-20 03:35:30 UTC
FreeBSD ports repository
. 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 <kurt at intricatesoftware.com>
Revision Changes Path
1.136 +2 -6 ports/java/jdk15/Makefile
1.1 +26 -0 ports/java/jdk15/files/patch-vm::globals.hpp (new)
1.8 +30 -11 ports/java/jdk15/files/patch-vm::os_bsd.cpp
More information about the cvs-all