freebsd-ports/java
Jung-uk Kim 34f4fb6411 Add support for "-XX:+UseLargePages" option.
Excerpted from the original submission:

"FreeBSD on several architectures automatically utilizes superpages.  So,
for the JVM's JIT-compiled code cache and data heap, much of those regions
are already using superpages.  However, the -XX:+UseLargePages option still
serves a useful, if secondary, purpose on FreeBSD.  Essentially, it informs
the JVM's platform-independent layer what the supported page sizes are.  So,
when memory is mmap(2)ed and munmap(2)ed within the code cache and data
heap, the addresses and sizes will be superpage-aligned and a multiple of
the superpage size, respectively.  Currently, without this patch, the code
cache, for example, typically starts at an unaligned address, so the initial
portion of the code cache can never be a superpage.  Similarly, unaligned
munmap(2)s on the data heap force the kernel to demote superpages to 4KB
pages, and this patch eliminates those demotions.

This patch both introduces the code needed on FreeBSD to implement
-XX:+UseLargePages and deletes code that was copied from Linux that is, to
the best of my knowledge, useless on any version of BSD, i.e., UseHugeTLBFS
and UseSHM.  The additions are in part based on the Solaris version of
os_solaris.cpp, e.g., the sorting of the page sizes array."

Note I did minor style cleanup and regenerated the patches.

Submitted by:	alc
2017-12-01 01:56:02 +00:00
..
aparapi
avis
berkeley-db For ports that are marked BROKEN on armv6, and also fail to build on 2017-11-30 06:13:34 +00:00
bluej java/bluej: Update to 4.1.1 2017-10-21 01:58:27 +00:00
bootstrap-openjdk Set DEPRECATED and EXPIRATION_DATE. 2017-09-28 21:03:43 +00:00
bootstrap-openjdk6 Synchronize COMMENT with java/bootstrap-openjdk8. 2017-09-28 22:03:24 +00:00
bootstrap-openjdk8 Add support for powerpc64. 2017-12-01 01:41:29 +00:00
bouncycastle Make defining both PORTVERSION and DISTVERSION a DEV_ERROR. 2017-04-11 15:21:23 +00:00
bouncycastle15 For ports that are explicitly enabled on armv6, also enable them 2017-10-10 21:31:30 +00:00
cacao
castor
classpath For ports that are marked BROKEN on armv6, and also fail to build on 2017-11-30 06:13:34 +00:00
cos Remove libexpat.so.6 compatibility link that was added in r374303 to 2016-12-08 17:40:41 +00:00
cryptix-jce
dbvis
eclipse Fix the context of some patches so that they apply with stricter patch(1) 2017-11-09 20:45:04 +00:00
eclipse-cdt Update Eclipse CDT to 9.0.1 and assign port to submitter. 2017-01-12 19:24:05 +00:00
eclipse-drjava
eclipse-ecj
eclipse-EPIC
eclipse-findbugs
eclipse-log4e
eclipse-lomboz
eclipse-pydev
eclipse-shelled Update WWW: SF redirects to https://sourceforge.net/projects/<PROJECT_NAME>/ 2017-01-20 20:33:30 +00:00
eclipse-windowbuilder
hamcrest
icedtea-web Remove WANT_GNOME and HAVE_GNOME. 2017-10-12 15:57:51 +00:00
infobus
intellij java/intellij: Update to version 2017.2.6, build 172.4574.11. 2017-11-14 13:49:18 +00:00
intellij-fsnotifier Bump PORTREVISION for ports depending on the canonical version of GCC 2017-09-10 20:55:38 +00:00
intellij-pty4j Fix WWW 2017-06-26 19:36:28 +00:00
intellij-rubymine Update to 2017.2.4. 2017-10-14 05:49:23 +00:00
intellij-ultimate qa: add check for NO_ARCH 2017-06-18 18:09:16 +00:00
jad
jaf
jai Remove libexpat.so.6 compatibility link that was added in r374303 to 2016-12-08 17:40:41 +00:00
jakarta-bcel
jakarta-commons-beanutils
jakarta-commons-cli Update to 1.4. 2017-03-14 08:53:21 +00:00
jakarta-commons-codec
jakarta-commons-collections
jakarta-commons-dbcp
jakarta-commons-discovery
jakarta-commons-httpclient The output of tools like awk, date, sort, tr,... depends on the current 2017-01-18 13:20:31 +00:00
jakarta-commons-lang
jakarta-commons-lang3 Don't use MASTER_SITE_SUBDIR when it is not needed. 2017-11-24 17:53:11 +00:00
jakarta-commons-logging
jakarta-commons-pool
jakarta-commons-primitives
jakarta-oro
jakarta-regexp For ports that are marked BROKEN on armv6, and also fail to build on 2017-11-30 06:13:34 +00:00
jamvm
jasmin
jattach java/jattach: Fix typo 2017-10-27 15:55:38 +00:00
java-checkstyle java/java-checkstyle: Update version 7.0=>7.6 2017-04-12 11:09:11 +00:00
java-cup For ports that are marked BROKEN on armv6, and also fail to build on 2017-11-30 06:13:34 +00:00
java-getopt
java-subversion
java-zoneinfo . Update to 2017c. 2017-11-19 18:56:11 +00:00
java3d For ports that are marked BROKEN on armv6, and also fail to build on 2017-11-30 06:13:34 +00:00
javahelp
javamail Fixup GH_TAGNAME usage, and minor cleanup. 2017-08-09 16:10:56 +00:00
javavmwrapper . Prepare for JDK9 support. 2017-10-14 18:36:17 +00:00
jaxen
jcalendar
jcckit
jcommon For ports that are marked BROKEN on armv6, and also fail to build on 2017-11-30 06:13:34 +00:00
jd-gui Update MAINTAINER to tobik@FreeBSD.org for my ports 2017-02-15 12:28:29 +00:00
jdbcpool
jdk8-doc . Update to the 8u131 docs. 2017-05-27 06:33:43 +00:00
jdom
jflex
jfreechart The output of tools like awk, date, sort, tr,... depends on the current 2017-01-18 13:20:31 +00:00
jgraph
jgrapht
jgraphx Remove libexpat.so.6 compatibility link that was added in r374303 to 2016-12-08 17:40:41 +00:00
jikes
jlex
jlint Actually add the patch 2017-02-11 21:28:03 +00:00
jmf Remove libexpat.so.6 compatibility link that was added in r374303 to 2016-12-08 17:40:41 +00:00
jode
jomp
jrosetta
jta
jtiger In several dozen ports, use single space for WWW: line in pkg-descr, and 2016-11-22 14:04:21 +00:00
jump
junit Fix ports using PREFIX in their depends instead of LOCALBASE. 2017-01-13 16:54:55 +00:00
jxgrabkey
langspec
lightweight-java-profiler new port: java/lightweight-java-profiler 2017-04-01 17:58:59 +00:00
linux-oracle-jdk9 . Add back in @dir directive accidentally dropped in the last commit. 2017-10-22 19:16:49 +00:00
linux-oracle-jdk18 . Udpate to 8u152. 2017-10-22 21:06:34 +00:00
linux-oracle-jre9 . Udpate to 9.0.1 2017-10-22 19:23:58 +00:00
linux-oracle-jre18 . Update to 8u152. 2017-10-22 21:25:53 +00:00
mmake
mx4j
netbeans
netbeans-devel
netcomponents Remove libexpat.so.6 compatibility link that was added in r374303 to 2016-12-08 17:40:41 +00:00
netrexx
netty Pass maintainership to submitter 2017-05-10 07:06:58 +00:00
openjdk6 Use java/bootstrap-openjdk6 to bootstrap. 2017-09-27 05:03:03 +00:00
openjdk6-jre
openjdk7 Use java/bootstrap-openjdk6 to bootstrap. 2017-09-28 20:22:16 +00:00
openjdk7-jre
openjdk8 Add support for "-XX:+UseLargePages" option. 2017-12-01 01:56:02 +00:00
openjdk8-jre
openjfx8-devel devel/icu: update to 60.1 2017-11-09 02:31:47 +00:00
openjfx8-scenebuilder New port: java/openjfx8-scenebuilder 2017-10-04 17:12:42 +00:00
phpeclipse Reset maintainership on Dominic Fandrey's ports. 2017-09-23 21:11:51 +00:00
proguard Update to 5.3.3 release. 2017-04-12 16:40:07 +00:00
sablevm Remove libiconv.so.3 compatibility link that was added in r374303 to 2016-12-08 19:23:24 +00:00
sablevm-classpath Remove libintl.so.9 compatibility link that was added in r374303 to 2016-12-08 19:52:19 +00:00
servingxml
sigar For ports that are marked BROKEN on armv6, and also fail to build on 2017-11-30 06:13:34 +00:00
springframework
springframework31
sqlitejdbc
trove4j
veditor Update to 1.2.2. 2017-10-06 06:17:28 +00:00
visualvm java/visualvm: fix web url 2017-10-16 17:56:46 +00:00
wildfly10 java/wildfly10: add support for status command and remove pidfile on shutdown. 2017-10-25 22:59:29 +00:00
wildfly11 Copy java/wildfly10 to java/wildfly11, and update to Wildfly 11.0. 2017-10-31 20:30:15 +00:00
wildfly90 java/wildfly90: add support for status command and remove pidfile on 2017-10-25 23:01:36 +00:00
xdoclet
Makefile Copy java/wildfly10 to java/wildfly11, and update to Wildfly 11.0. 2017-10-31 20:30:15 +00:00