Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Sep 2007 03:35:30 +0000 (UTC)
From:      Greg Lewis <glewis@FreeBSD.org>
To:        ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: ports/java/jdk15 Makefile ports/java/jdk15/files patch-vm::globals.hpp patch-vm::os_bsd.cpp
Message-ID:  <200709200335.l8K3ZUtt063176@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
glewis      2007-09-20 03:35:30 UTC

  FreeBSD ports repository

  Modified files:
    java/jdk15           Makefile 
    java/jdk15/files     patch-vm::os_bsd.cpp 
  Added files:
    java/jdk15/files     patch-vm::globals.hpp 
  Log:
  . Default UseThreadPriorities to false on BSD.  This can be toggled by
    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>
  
  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200709200335.l8K3ZUtt063176>