aboutsummaryrefslogtreecommitdiff
path: root/java/jdk15/files/patch-vm::os_bsd.cpp
Commit message (Collapse)AuthorAgeFilesLines
* . Update to patchset 7, based on 1.5.0 Update 13.Greg Lewis2007-10-231-32/+0
| | | | Notes: svn path=/head/; revision=201847
* . Default UseThreadPriorities to false on BSD. This can be toggled byGreg Lewis2007-09-201-12/+31
| | | | | | | | | | | | | | | | | | | | | passing -XX:+UseThreadPriorities. . 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@intricatesoftware.com> Notes: svn path=/head/; revision=199806
* . Update to patchset 5, based on the 1.5.0_11 JRL source code.Greg Lewis2007-06-091-5/+5
| | | | Notes: svn path=/head/; revision=193076
* . Update to patchset 4.Greg Lewis2007-01-221-32/+0
| | | | Notes: svn path=/head/; revision=182990
* . Fix a problem with os_sleep returning early without raising an exceptionGreg Lewis2006-11-061-0/+32
| | | | | | | | | when its called with interruptible set to false. Submitted by: Kurt Miller <kurt@intricatesoftware.com> Notes: svn path=/head/; revision=176643
* . Update to patchset 2:Greg Lewis2005-09-201-9/+0
| | | | | | | | | | | | | | | | | | | | | . Many patches are now unnecessary as they are included in the new patchset. . The browser plugin and Java Web Start is enabled on i386 (there are 64 bit issues with both the plugin and Mozilla/Firefox which prevent enabling it on amd64). . Update the amount of disk space needed. . Update the status of the port. . Disable building the shared class data archive. This broke the build on amd64 and appears to also be problematic on some i386 versions (4.11 is broken at least). It will reappear in future, probably initially on a limited set of FreeBSD versions and architectures (6.0/i386 is reported to work). Reviewed by: freebsd-java@ Approved by: maintainer timeout (1 week) Notes: svn path=/head/; revision=143246
* . Fix a performance issue by using the correct INTERRUPTIBLE_NORESTARTGreg Lewis2005-03-211-0/+9
| | | | | | | | | | macro. This will be in patchset 2. PR: 77162 Submitted by: phantom Notes: svn path=/head/; revision=131813
* 1. Switch 5.x version of jdk14 back to libc_r as default threading library.Alexey Zelkin2004-01-281-0/+13
We switched FreeBSD-5.x port to libkse as default threading library before releasing of patchset 6, but users who has most of stuff linked against libc_r and attempted to use jdk linked against libkse got into local hell of threading libraries mix. So, rollback to libc_r by default and add PTHREAD_LIBS support for this port. IMPORTANT: In order to use libkse as threading library for jdk14 you have to use rtld's libmap feature or recompile your ports stuff (like mozilla) with libkse. NOTE: libkse still has issues with java debug support, so if you're going to use debuging (JVMDI) stuff - leave with libc_r for now. 2. Disable IPv6 support by default. Unfortunatelly due to security reasons IPv4-to-IPv6 addresses mapping is disabled by default in FreeBSD-5.x, so those who would like to use Java Networking stuff had to manually enable it. To make jdk14 port more user-friendly IPv6 is disabled now on compile time. Those who need this stuff enabled have to use WITH_IPV6 compile time option. 3. Add MINIMAL compile option. If this option is used to build jdk14 port then plugin, javaws and demos stuff will not be installed and/or packaged. Also (as noted in [5]) X11 runtime dependancy will not be registered into built package. 4. Strip runtime depends of jdk14 port. There's no need to require open-motif to be runtime depends since libXm is staticly linked into libawt.so. 5. Make X11 runtime dependancy conditional (via urwfonts) in !WITHOUT_PLUGIN case only. This should affect only prebuilt package users: there's no need to install X11 libraries if you're going to use non-GUI stuff only (i.e. tomcat or jboss) 6. Add ${LOCALBASE}/lib to the deafult search path for JNI libraries. 7. Bump PORTVERSION Reported by: many [1] Submitted by: glewis [6] Requested by: marcus [6] Notes: svn path=/head/; revision=99318