Please test the 'current' jdk 1.5 patchset
Jung-uk Kim
jkim at FreeBSD.org
Wed Jun 6 20:53:11 UTC 2007
On Tuesday 05 June 2007 02:25 am, Greg Lewis wrote:
> I realise that Update 12 was just released, but I think its worth
> getting the newer patchset out now and switch to Update 12
> afterwards rather than stopping the release cycle at this point.
I have built Update 12 with the same patchset + patches from ports +
the attached additional patches:
%java -version
java version "1.5.0_12-p5"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-p5-jkim_06_jun_2007_12_43)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_12-p5-jkim_06_jun_2007_12_43, mixed mode)
%sysctl kern.osreldate
kern.osreldate: 700043
Can we just skip Update 11?
Thanks,
Jung-uk Kim
-------------- next part --------------
--- control/make/common/Defs-bsd.gmk.orig Wed Jun 6 02:29:37 2007
+++ control/make/common/Defs-bsd.gmk Wed Jun 6 11:27:46 2007
@@ -43,7 +43,7 @@
endif
# Versioning
-JDK_UPDATE_VERSION=11
+JDK_UPDATE_VERSION=12
MILESTONE=p5
# define these to avoid picking up ones from aliases or from
--- j2se/make/common/Defs-bsd.gmk.orig Wed Jun 6 12:32:09 2007
+++ j2se/make/common/Defs-bsd.gmk Wed Jun 6 12:40:26 2007
@@ -22,7 +22,7 @@
# LDLIBS_COMMON (set $(EXTRA_LIBS) instead)
# Versioning
-JDK_UPDATE_VERSION=11
+JDK_UPDATE_VERSION=12
# statically link libstdc++ before C++ ABI is stablized on Linux
STATIC_CXX = false
-------------- next part --------------
--- hotspot/src/os_cpu/bsd_amd64/vm/os_bsd_amd64.hpp.orig Tue Jun 5 19:48:40 2007
+++ hotspot/src/os_cpu/bsd_amd64/vm/os_bsd_amd64.hpp Tue Jun 5 20:34:20 2007
@@ -6,6 +6,7 @@
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
+ static void setup_fpu() {}
// Used to register dynamic code cache area with the OS
// Note: Currently only used in 64 bit Windows implementations
--- hotspot/src/os_cpu/bsd_i486/vm/os_bsd_i486.cpp.orig Tue Jun 5 19:48:40 2007
+++ hotspot/src/os_cpu/bsd_i486/vm/os_bsd_i486.cpp Tue Jun 5 20:41:10 2007
@@ -951,3 +951,9 @@
cmpxchg_long_func_t* os::atomic_cmpxchg_long_func = os::atomic_cmpxchg_long_bootstrap;
add_func_t* os::atomic_add_func = os::atomic_add_bootstrap;
fence_func_t* os::fence_func = os::fence_bootstrap;
+
+void os::setup_fpu() {
+ address fpu_cntrl = StubRoutines::addr_fpu_cntrl_wrd_std();
+ __asm__ volatile ( "fldcw (%0)" :
+ : "r" (fpu_cntrl) : "memory");
+}
--- hotspot/src/os_cpu/bsd_i486/vm/os_bsd_i486.hpp.orig Tue Jun 5 19:48:40 2007
+++ hotspot/src/os_cpu/bsd_i486/vm/os_bsd_i486.hpp Tue Jun 5 20:40:37 2007
@@ -21,6 +21,8 @@
static jint atomic_add_bootstrap (jint, volatile jint*);
static void fence_bootstrap ();
+ static void setup_fpu();
+
static bool supports_sse();
static bool is_allocatable(size_t bytes);
More information about the freebsd-java
mailing list