Commit graph

70 commits

Author SHA1 Message Date
Jung-uk Kim
6ea79f805e Fix available memory calculation on head after r309017.
Note PORTREVISION is not bumped because it only affects a kernel without
"options COMPAT_FREEBSD11".
2017-09-07 00:41:34 +00:00
Greg Lewis
33ad7fb605 . Update to 8u144. 2017-08-27 17:48:46 +00:00
Greg Lewis
5458611582 Update to 8u131. 2017-04-19 13:36:23 +00:00
Jung-uk Kim
d656192397 Merge fix for JDK-6900441 from Linux source.
http://bugs.java.com/view_bug.do?bug_id=6900441

While we are at it, merge fix for JDK-8029453.

http://bugs.java.com/view_bug.do?bug_id=8029453

Note JDK-8029453 only affects us when "-XX:WorkAroundNPTLTimedWaitHang=0" is
forcibly set.

Reported by:	张泽鹏 (redraiment at gmail dot com)
Tested by:	张泽鹏 (redraiment at gmail dot com)
2017-04-13 18:09:21 +00:00
Greg Lewis
7494e12b61 . Update to 8u121. 2017-01-29 07:08:18 +00:00
Greg Lewis
1baf25b002 . Fix compilation with Clang 4.0
PR:		216016
Submitted by:	jbeich@
2017-01-15 22:51:52 +00:00
Greg Lewis
ac342da485 . Add support for the HotSpot Serviceability Agent for ppc64.
. This also pulls in some OpenBSD tweaks, I believe.  These should be a
  no-op for FreeBSD though.

PR:		212709 (partial)
Submitted by:	Curtis Hamilton <hamiltcl@verizon.net>
2016-12-29 07:50:40 +00:00
Greg Lewis
ab93492888 . Update to 8u112. 2016-10-30 03:51:40 +00:00
Alex Dupre
6b6b8271c0 Update cacerts file using the one included in 8u111 release.
Notable change is the inclusion of Let's Encrypt CA.
2016-10-24 08:53:21 +00:00
Greg Lewis
71b1ef1dd5 . Include the thread id so that jstack can provide stack traces when
analysing core dumps.
. Bump PORTREVISION.

PR:		211196
Submitted by:	Ron Roskens <ronald.roskens@gmail.com>
2016-09-04 04:06:00 +00:00
Jung-uk Kim
f0ff2870a0 Make the FPU hack for ARM optional. Note this hack is not necessary for
VFPv3 or later, i.e., only VFPv1 and VFPv2 require this hack.

https://svnweb.freebsd.org/changeset/base/288983
2016-08-26 18:29:46 +00:00
Greg Lewis
9bbe93456a . Update to 8u102. 2016-07-30 13:55:17 +00:00
Greg Lewis
f497c53064 . Regenerate patch-bsd and patch-bsd-test. This obsoletes another patch
and should also fix ppc64 support.
2016-06-18 05:44:35 +00:00
Greg Lewis
9c0e7d35bc . Fix a double free bug. This is pulled from upstream.
. Bump PORTREVISION.

PR:		210226
Submitted by:	girgen@
2016-06-16 06:24:34 +00:00
Jung-uk Kim
cb138fe9d4 Unbreak arm.
- Remove armv6hf because it is default now.
- Merge a HotSpot fix from src/os_cpu/linux_zero/vm/os_linux_zero.cpp.
http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/c6ef40024aa2
- Add an upstream patch to unbreak Zero.
http://hg.openjdk.java.net/jdk8u/jdk8u/hotspot/rev/8f58998958ca
- Extend PR209599 to cover arm platforms.
2016-06-13 12:00:19 +00:00
Greg Lewis
d172911638 . Use poll() rather than select() on BSD to avoid crashes during network
timeouts.  This is forwarded ported from OpenJDK 7.
. Bump PORTREVISION for this fix.

PR:		210191
Submitted by:	Andrew Smith <iamasmith.home@gmail.com>
2016-06-12 21:56:01 +00:00
Greg Lewis
b13b21cc6c Handle unsafe operations that access invalid memory more gracefully
PR:		209599
Submitted by:	Andrew Smith <iamasmith.home@gmail.com>
2016-06-12 21:53:48 +00:00
Greg Lewis
1d71c44416 . Update to 8u92. 2016-05-17 05:14:41 +00:00
Greg Lewis
44d8a469b9 . Update to 8u72. 2016-01-31 19:37:15 +00:00
Greg Lewis
24e7dd6d89 . Unreak CCACHE
PR:		205751
Submitted by:	chris@chrullrich.net
2016-01-21 05:25:44 +00:00
Jung-uk Kim
2edf0a9558 - Partially implement getThreadUserTime() using getrusage(2). Note we can
only get usage for the current thread.  Return -1 if the requested function
is not supported, i.e., user time for other threads, rather than crash. [1]
- Properly implement os::elapsedVTime() using getrusage().  Basically, it is
taken from Linux version.
- Temporarily revert r403748 to fix bootstrapping with earlier OpenJDK8. [2]

PR:		205523, 205843 [1]
PR:		205544 [2]
2016-01-05 22:39:46 +00:00
Greg Lewis
2813824f6f . Stub implementation of OperatingSystemImpl.
PR:		205229
2016-01-02 09:30:21 +00:00
Jung-uk Kim
f79bce06dd Fix the previous commit. We do not support getThreadUserTime().
PR:		205523
2015-12-23 00:47:12 +00:00
Jung-uk Kim
cafb8745f1 Implement ThreadMXBean.getThreadCpuTime(), etc.
PR:		205523
Submitted by:	will (via bsd-port-dev@openjdk.java.net)
2015-12-23 00:22:15 +00:00
Greg Lewis
eb3bedf698 . Update to 8u66. 2015-12-13 00:50:58 +00:00
Jung-uk Kim
af65c31a00 Fix regression introduced in r372338, i.e., mis-merged fix for JDK-8031581.
PR:		205192
2015-12-10 18:43:51 +00:00
Jung-uk Kim
87463483c6 Add an upstream patch to fix build for some 32-bit platforms, i.e.,
java.lang.OutOfMemroryError.

http://hg.openjdk.java.net/jdk8u/jdk8u/rev/f398f28e3112
2015-12-09 21:23:01 +00:00
Jung-uk Kim
389ecfc20d Clean up and modernize the port. No functional change. 2015-09-29 21:56:28 +00:00
Greg Lewis
801e7630ce . Add support for armv6.
PR:		201308
Submitted by:	mikael.urankar@gmail.com
Reviewed by:	sbruno
2015-09-29 14:54:56 +00:00
Greg Lewis
74dbe676ce . Move the large patches which contain the changes between updates of the
JDK to being fetched remotely using PATCHFILES and PATCH_SITES.

  This cuts the size taken by openjdk8 in the ports repository.
2015-09-08 05:04:25 +00:00
Greg Lewis
519117c04b . Update to 8u60. 2015-09-07 09:41:49 +00:00
Jung-uk Kim
139ceeaf09 Fix few more mismerges in the previous update. 2015-07-20 22:10:17 +00:00
Jung-uk Kim
1ee26da0bb Tidy up couple of problems in the previous update. 2015-07-20 21:16:09 +00:00
Greg Lewis
8088e0cda1 . Update to 8u51. 2015-07-19 14:23:54 +00:00
Greg Lewis
d5b14ed39b . Fix BSD detection in the langtools test infrastructure. 2015-07-05 00:41:37 +00:00
Jung-uk Kim
fd492a9fe5 - Fix broken preprocessor directives.
- Use sysctl(3) instead of procfs(5) when we need executable path from PID.

MFH:		2015Q3
2015-07-02 18:17:12 +00:00
Jung-uk Kim
75c6d35b75 Do not use static libjli for stable/10 and head. This complements PR193009.
Re-apply r381431 while I am here.

Submitted by:	Kurt Miller <kurt@intricatesoftware.com>
2015-05-19 22:13:51 +00:00
Greg Lewis
6e15254a68 . Update to 8u45. 2015-05-06 07:03:53 +00:00
Jung-uk Kim
cd50a3fd95 Set rpath for libawt_xawt.so as we do for libawt.so and libawt_headless.so.
Optimize fontconfig.properties while I am here.
2015-04-01 17:32:17 +00:00
Jung-uk Kim
7580e924ad Tidy up default fontconfig.properties. 2015-03-24 21:17:51 +00:00
Jung-uk Kim
74a9a89a8d Catch up with font directory changes. 2015-03-24 00:56:47 +00:00
Jung-uk Kim
d0b0657655 Clean up patches again. No functional change. 2015-03-16 18:53:10 +00:00
Greg Lewis
72d2e02134 . Update to 8u40. 2015-03-15 21:30:04 +00:00
Jung-uk Kim
6a5bb1c2f8 - Revert all damages done in r372338 and r379049.
- Really fix non-release builds. [1]

PR:		193009 [1]
2015-02-27 06:54:30 +00:00
Jung-uk Kim
6ff1cd31f3 Properly use BLOCKING_IO_RETURN_INT() macro for NET_Accept(). 2015-02-16 23:58:16 +00:00
Jung-uk Kim
ea9a2868cf Remove redundant linker options added in r379049. 2015-02-16 23:48:19 +00:00
Greg Lewis
2c4da2b583 . Fix the DEBUG build.
PR:		193009
Submitted by:	Brian Gardner (openjdk@getsnappy.com)
2015-02-15 21:18:12 +00:00
Greg Lewis
3bc2661ea9 . Update to 8u31. 2015-02-02 06:27:11 +00:00
Antoine Brodin
2fde215147 Allow building with either giflib 4.2 or 5.0 2014-12-27 07:37:59 +00:00
Jung-uk Kim
7df9bf91d2 Turn off -Werror for Clang 3.5+ and revert r374780 for now. 2014-12-16 21:37:30 +00:00