changeset in /hg/icedtea6: PR icedtea/323

Xerxes R?nby xerxes at zafena.se
Wed Jun 10 05:13:15 PDT 2009


changeset 188882817ac2 in /hg/icedtea6
details: http://icedtea.classpath.org/hg/icedtea6?cmd=changeset;node=188882817ac2
description:
	PR icedtea/323
		* patches/icedtea-zero.patch
		(JNIHandles::is_frame_handle) Changed stack boundary
		during compare to include the whole zero stack.

diffstat:

2 files changed, 23 insertions(+)
ChangeLog                  |    7 +++++++
patches/icedtea-zero.patch |   16 ++++++++++++++++

diffs (37 lines):

diff -r 852af6e8bf0e -r 188882817ac2 ChangeLog
--- a/ChangeLog	Tue Jun 09 14:08:52 2009 -0400
+++ b/ChangeLog	Wed Jun 10 14:13:59 2009 +0200
@@ -1,3 +1,10 @@ 2009-06-09  Omair Majid  <omajid at redhat.
+2009-06-10  Xerxes RÃ¥nby  <xerxes at zafena.se>
+
+	PR icedtea/323
+	* patches/icedtea-zero.patch
+	(JNIHandles::is_frame_handle) Changed stack boundary
+	during compare to include the whole zero stack.
+
 2009-06-09  Omair Majid  <omajid at redhat.com>
 
 	* rt/net/sourceforge/jnlp/AssociationDesc.java: New file.
diff -r 852af6e8bf0e -r 188882817ac2 patches/icedtea-zero.patch
--- a/patches/icedtea-zero.patch	Tue Jun 09 14:08:52 2009 -0400
+++ b/patches/icedtea-zero.patch	Wed Jun 10 14:13:59 2009 +0200
@@ -221,3 +221,19 @@
          }
       }
  
+Index: openjdk/hotspot/src/share/vm/runtime/jniHandles.cpp
+===================================================================
+--- openjdk/hotspot/src/share/vm/runtime/jniHandles.cpp.orig	2009-06-10 11:30:46.000000000 +0200
++++ openjdk/hotspot/src/share/vm/runtime/jniHandles.cpp	2009-06-10 11:37:07.000000000 +0200
+@@ -173,7 +173,11 @@
+   // is not permitted.
+   return (thr->has_last_Java_frame() &&
+          (void*)obj < (void*)thr->stack_base() &&
++#ifdef ZERO
++         (void*)obj >= (void*)os::current_stack_pointer());
++#else
+          (void*)obj >= (void*)thr->last_Java_sp());
++#endif // ZERO
+ }
+ 
+ 



More information about the distro-pkg-dev mailing list