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 Remove i386 from the viable platforms list. 2016-09-25 21:40:54 +00:00
avis USE_RC_SUBR=yes has not done anything for a long time, remove it from 2016-04-14 11:00:23 +00:00
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 Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l. 2016-04-01 14:08:37 +00:00
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 java/dbvis: 9.1.6 -> 9.2.14 2016-01-29 06:32:14 +00:00
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 Convert tab after WWW: in pkg-descrs to single space as per PHB 2016-05-23 18:36:52 +00:00
eclipse-ecj
eclipse-EPIC Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l. 2016-04-01 14:08:37 +00:00
eclipse-findbugs ${RM} already has -f. 2016-10-21 12:51:40 +00:00
eclipse-log4e Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l. 2016-04-01 14:08:37 +00:00
eclipse-lomboz Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l. 2016-04-01 14:08:37 +00:00
eclipse-pydev Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l. 2016-04-01 14:08:37 +00:00
eclipse-shelled Update WWW: SF redirects to https://sourceforge.net/projects/<PROJECT_NAME>/ 2017-01-20 20:33:30 +00:00
eclipse-windowbuilder Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l. 2016-04-01 14:08:37 +00:00
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 - Fix trailing whitespace in pkg-descrs, categories [g-n]* 2016-05-19 10:44:11 +00:00
jaf - Fix trailing whitespace in pkg-descrs, categories [g-n]* 2016-05-19 10:44:11 +00:00
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 Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l. 2016-04-01 14:08:37 +00:00
jakarta-commons-cli Update to 1.4. 2017-03-14 08:53:21 +00:00
jakarta-commons-codec
jakarta-commons-collections java/jakarta-commons-collections: 2016-11-02 11:15:40 +00:00
jakarta-commons-dbcp Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l. 2016-04-01 14:08:37 +00:00
jakarta-commons-discovery Convert tab after WWW: in pkg-descrs to single space as per PHB 2016-05-23 18:36:52 +00:00
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 - Fix trailing whitespace in pkg-descrs, categories [g-n]* 2016-05-19 10:44:11 +00:00
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 Take maintainership of math/scilab dependencies 2016-11-02 09:05:57 +00:00
jakarta-commons-pool With the power of USES=dos2unix, get rid of most patches and files 2016-06-20 16:23:28 +00:00
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 Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l. 2016-04-01 14:08:37 +00:00
jasmin - Fix trailing whitespace in pkg-descrs, categories [g-n]* 2016-05-19 10:44:11 +00:00
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 - Fix trailing whitespace in pkg-descrs, categories [g-n]* 2016-05-19 10:44:11 +00:00
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 Take maintainership of math/scilab dependencies 2016-11-02 09:05:57 +00:00
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 - Add LICENSE 2016-09-30 09:01:46 +00:00
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 ${RM} already has -f. 2016-10-21 12:51:40 +00:00
jdk8-doc . Update to the 8u131 docs. 2017-05-27 06:33:43 +00:00
jdom Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l. 2016-04-01 14:08:37 +00:00
jflex Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l. 2016-04-01 14:08:37 +00:00
jfreechart The output of tools like awk, date, sort, tr,... depends on the current 2017-01-18 13:20:31 +00:00
jgraph ${RM} already has -f. 2016-10-21 12:51:40 +00:00
jgrapht With the power of USES=dos2unix, get rid of most patches and files 2016-06-20 16:23:28 +00:00
jgraphx Remove libexpat.so.6 compatibility link that was added in r374303 to 2016-12-08 17:40:41 +00:00
jikes
jlex ${RM} already has -f. 2016-10-21 12:51:40 +00:00
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 Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l. 2016-04-01 14:08:37 +00:00
jomp
jrosetta Take maintainership of math/scilab dependencies 2016-11-02 09:05:57 +00:00
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 Add an explicit include of <unistd.h>, which is required on 2016-07-03 05:17:23 +00:00
langspec OPTIONS_SET/OPTIONS_UNSET are global variables, they cannot be used in ports Makefiles. 2016-10-24 10:18:50 +00:00
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 - Fix trailing whitespace in pkg-descrs, categories [g-n]* 2016-05-19 10:44:11 +00:00
mx4j - Fix trailing whitespace in pkg-descrs, categories [g-n]* 2016-05-19 10:44:11 +00:00
netbeans When there is a do-install target, do not use a post-install target, do 2016-07-19 11:04:13 +00:00
netbeans-devel
netcomponents Remove libexpat.so.6 compatibility link that was added in r374303 to 2016-12-08 17:40:41 +00:00
netrexx When there is a do-install target, do not use a post-install target, do 2016-07-19 11:04:13 +00:00
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 Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l. 2016-04-01 14:08:37 +00:00
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 - Fix trailing whitespace in pkg-descrs, categories [g-n]* 2016-05-19 10:44:11 +00:00
trove4j - Fix trailing whitespace in pkg-descrs, categories [g-n]* 2016-05-19 10:44:11 +00:00
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 Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l. 2016-04-01 14:08:37 +00:00
Makefile Copy java/wildfly10 to java/wildfly11, and update to Wildfly 11.0. 2017-10-31 20:30:15 +00:00